diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2009-10-06 14:12:11 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-10-07 03:02:12 (GMT) |
commit | c7ebbfeed10ad2e1508582a42290e31cb8205b76 (patch) | |
tree | eed4923112186bb79f6322f4a6f984d0ae8c8950 | |
parent | 1c466daff4560bb287b9ae688f21d933f34a902c (diff) | |
download | Qt-c7ebbfeed10ad2e1508582a42290e31cb8205b76.zip Qt-c7ebbfeed10ad2e1508582a42290e31cb8205b76.tar.gz Qt-c7ebbfeed10ad2e1508582a42290e31cb8205b76.tar.bz2 |
Build fix.
(cherry picked from commit c81b79080eb8f0c956c97fc80d5118baf7703df4)
-rw-r--r-- | src/gui/styles/gtksymbols.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/gtksymbols.cpp b/src/gui/styles/gtksymbols.cpp index d8f140f..a77d9b6 100644 --- a/src/gui/styles/gtksymbols.cpp +++ b/src/gui/styles/gtksymbols.cpp @@ -984,7 +984,7 @@ QIcon QGtk::getFilesystemIcon(const QFileInfo &info) if (QGtk::gnome_vfs_init && QGtk::gnome_icon_lookup_sync) { QGtk::gnome_vfs_init(); GtkIconTheme *theme = QGtk::gtk_icon_theme_get_default(); - QString fileurl = QUrl::fromLocalFile(info.absoluteFilePath()); + QString fileurl = QUrl::fromLocalFile(info.absoluteFilePath()).toString(); char * icon_name = QGtk::gnome_icon_lookup_sync(theme, NULL, qPrintable(fileurl), |