23 lines
817 B
Diff
23 lines
817 B
Diff
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);
|