diff options
author | Nick Dedekind <nicholas.dedekind@gmail.com> | 2014-08-15 16:01:50 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-08-15 16:01:50 +0000 |
commit | 8f2a49c53af5807105ac48ebc6ae8584dd89a48e (patch) | |
tree | ae1c14d75a11f7d348c7f4b970685ca23bb2794a | |
parent | d9a59c078e71c9f337df90564ba66dd5f31ad352 (diff) | |
parent | eac47df16a93d8711be4a3d9519c9339f9949de8 (diff) | |
download | qmenumodel-8f2a49c53af5807105ac48ebc6ae8584dd89a48e.tar.gz qmenumodel-8f2a49c53af5807105ac48ebc6ae8584dd89a48e.tar.bz2 qmenumodel-8f2a49c53af5807105ac48ebc6ae8584dd89a48e.zip |
Allow remote URIs to be used from file serialized icons
Approved by: Sergio Schvezov, PS Jenkins bot
-rw-r--r-- | libqmenumodel/src/unitymenumodel.cpp | 2 |
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); |