summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/gtksymbols.cpp
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-10-06 14:51:18 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-10-06 14:52:10 (GMT)
commit493eb0264c095c62b6573789225a22cadf946348 (patch)
tree92eaf4ca69c781ce1e2d3b7c16e1a44a4d837a00 /src/gui/styles/gtksymbols.cpp
parent85b17ee0222d96bbd93f758ac3b2bd3139c76ec8 (diff)
downloadQt-493eb0264c095c62b6573789225a22cadf946348.zip
Qt-493eb0264c095c62b6573789225a22cadf946348.tar.gz
Qt-493eb0264c095c62b6573789225a22cadf946348.tar.bz2
Better compile fix.
Reviewed-by:Thiago
Diffstat (limited to 'src/gui/styles/gtksymbols.cpp')
-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 a77d9b6..d62f717 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()).toString();
+ QString fileurl = QUrl::fromLocalFile(info.absoluteFilePath()).toEncoded();
char * icon_name = QGtk::gnome_icon_lookup_sync(theme,
NULL,
qPrintable(fileurl),