diff --git a/src/core/kfileitem.cpp b/src/core/kfileitem.cpp --- a/src/core/kfileitem.cpp +++ b/src/core/kfileitem.cpp @@ -955,8 +955,10 @@ */ static bool checkDesktopFile(const KFileItem &item, bool _determineMimeType) { + bool isLocal = false; + // mostLocalUrl may set value of isLocal variable + item.mostLocalUrl(&isLocal); // only local files - bool isLocal; if (!isLocal) { return false; }