Hrvoje Senjan
2015-08-16 10:12:20 +00:00
committed by Git OBS Bridge
parent a9cdccec69
commit e2689d1584

View File

@@ -1,22 +0,0 @@
From: Vishesh Handa <me@vhanda.in>
Date: Wed, 06 May 2015 12:27:37 +0000
Subject: Baloo Runner: Use the filepath as the unique id of the match
X-Git-Url: http://quickgit.kde.org/?p=plasma-workspace.git&a=commitdiff&h=34c11a481baafd9824ef681b6d359ca34ab04ad8
---
Baloo Runner: Use the filepath as the unique id of the match
Baloo no longer exports the identifier of the file
---
--- a/runners/baloo/baloosearchrunner.cpp
+++ b/runners/baloo/baloosearchrunner.cpp
@@ -114,7 +114,7 @@
QString iconName = QMimeDatabase().mimeTypeForFile(localUrl).iconName();
match.setIcon(QIcon::fromTheme(iconName));
- match.setId(it.id());
+ match.setId(it.filePath());
match.setText(url.fileName());
match.setData(url);
match.setType(Plasma::QueryMatch::PossibleMatch);