diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-10-09 18:49:56 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-10-09 21:05:49 (GMT) |
commit | e361321e156bf1123e0d670c052307dc00f6d3f4 (patch) | |
tree | df95e7f04608f89f91cb567de013cb3c9c3d92cc /src/gui/styles/qstylehelper.cpp | |
parent | 995de3e31aef578b87cdb7a1762d6bc465d21651 (diff) | |
download | Qt-e361321e156bf1123e0d670c052307dc00f6d3f4.zip Qt-e361321e156bf1123e0d670c052307dc00f6d3f4.tar.gz Qt-e361321e156bf1123e0d670c052307dc00f6d3f4.tar.bz2 |
Fixed getting an icon for a file on the filesystem with gnome.
According to the documentation gnome_icon_lookup_sync() can return an
absolute file path for the icon, so we check if the returned string
starts like a path, then we load the icon from the file.
This also fixes compilation warnings.
Reviewed-by: Olivier Goffart
Diffstat (limited to 'src/gui/styles/qstylehelper.cpp')
0 files changed, 0 insertions, 0 deletions