aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src
diff options
context:
space:
mode:
authorNick Dedekind <nicholas.dedekind@gmail.com>2014-07-29 14:39:50 +0100
committerNick Dedekind <nicholas.dedekind@gmail.com>2014-07-29 14:39:50 +0100
commiteac47df16a93d8711be4a3d9519c9339f9949de8 (patch)
treeae1c14d75a11f7d348c7f4b970685ca23bb2794a /libqmenumodel/src
parentd9a59c078e71c9f337df90564ba66dd5f31ad352 (diff)
downloadqmenumodel-eac47df16a93d8711be4a3d9519c9339f9949de8.tar.gz
qmenumodel-eac47df16a93d8711be4a3d9519c9339f9949de8.tar.bz2
qmenumodel-eac47df16a93d8711be4a3d9519c9339f9949de8.zip
remove check for native file
Diffstat (limited to 'libqmenumodel/src')
-rw-r--r--libqmenumodel/src/unitymenumodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqmenumodel/src/unitymenumodel.cpp b/libqmenumodel/src/unitymenumodel.cpp
index a75e8c8..63d5e5b 100644
--- a/libqmenumodel/src/unitymenumodel.cpp
+++ b/libqmenumodel/src/unitymenumodel.cpp
@@ -385,7 +385,7 @@ static QString iconUri(GIcon *icon)
GFile *file;
file = g_file_icon_get_file (G_FILE_ICON (icon));
- if (g_file_is_native (file)) {
+ if (file) {
gchar *fileuri;
fileuri = g_file_get_uri (file);