~ubuntu-branches/ubuntu/utopic/qmenumodel/utopic-proposed

« back to all changes in this revision

Viewing changes to libqmenumodel/src/unitymenumodel.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Nick Dedekind
  • Date: 2014-08-15 16:02:02 UTC
  • mfrom: (1.1.19)
  • Revision ID: package-import@ubuntu.com-20140815160202-vu1wz6mykby49gyy
Tags: 0.2.8+14.10.20140815-0ubuntu1
[ Nick Dedekind ]
Allow remote URIs to be used from file serialized icons

Show diffs side-by-side

added added

removed removed

Lines of Context:
385
385
        GFile *file;
386
386
 
387
387
        file = g_file_icon_get_file (G_FILE_ICON (icon));
388
 
        if (g_file_is_native (file)) {
 
388
        if (file) {
389
389
            gchar *fileuri;
390
390
 
391
391
            fileuri = g_file_get_uri (file);