diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2009-10-06 14:51:18 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-10-07 03:02:44 (GMT) |
commit | 18f16007e20d223a7c0464190d7323fc1e6acb94 (patch) | |
tree | 0622e7e42438c355782a727133f3782f0977acc2 | |
parent | 559ed56d3036418470682ed8cc662f26373ee868 (diff) | |
download | Qt-18f16007e20d223a7c0464190d7323fc1e6acb94.zip Qt-18f16007e20d223a7c0464190d7323fc1e6acb94.tar.gz Qt-18f16007e20d223a7c0464190d7323fc1e6acb94.tar.bz2 |
Better compile fix.
Reviewed-by:Thiago
(cherry picked from commit 493eb0264c095c62b6573789225a22cadf946348)
-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 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), |