summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-10-06 14:12:11 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-10-06 14:12:28 (GMT)
commitc81b79080eb8f0c956c97fc80d5118baf7703df4 (patch)
treeb23c54f9fe90c3f79fdce91fa2cc855dd3532ec8 /src/gui
parent56187037e3fe46800bfa670197a149121f00573e (diff)
downloadQt-c81b79080eb8f0c956c97fc80d5118baf7703df4.zip
Qt-c81b79080eb8f0c956c97fc80d5118baf7703df4.tar.gz
Qt-c81b79080eb8f0c956c97fc80d5118baf7703df4.tar.bz2
Build fix.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/styles/gtksymbols.cpp2
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),