aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src
diff options
context:
space:
mode:
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);