We've sometimes problems (only under Windows) if the string points to a local file and the implicit cast is used. Using QUrl::fromLocalFile() works always. In the above code change line 10:
Qt Code:
To copy to clipboard, switch view to plain text mode
to
Qt Code:
To copy to clipboard, switch view to plain text mode
Bookmarks