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 39336ec..71358c4 100644
--- a/libqmenumodel/src/unitymenumodel.cpp
+++ b/libqmenumodel/src/unitymenumodel.cpp
@@ -370,7 +370,7 @@ static QString iconUri(GIcon *icon)
if (g_file_is_native (file)) {
gchar *fileuri;
- fileuri = g_file_get_path (file);
+ fileuri = g_file_get_uri (file);
uri = QString(fileuri);
g_free (fileuri);