[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [baloo] src/tools/balooctl: StatusCommand: Show the correct status for folders
From: Vishesh Handa <me () vhanda ! in>
Date: 2015-12-14 23:46:14
Message-ID: E1a8coo-0001XZ-EJ () scm ! kde ! org
[Download RAW message or body]
Git commit c6c7d9631f8b0d4b9b55e29f386c5a30527248a9 by Vishesh Handa.
Committed on 14/12/2015 at 23:30.
Pushed by vhanda into branch 'master'.
StatusCommand: Show the correct status for folders
And files which did not have any extracted data.
M +1 -3 src/tools/balooctl/statuscommand.cpp
http://commits.kde.org/baloo/c6c7d9631f8b0d4b9b55e29f386c5a30527248a9
diff --git a/src/tools/balooctl/statuscommand.cpp b/src/tools/balooctl/stat=
uscommand.cpp
index 0074f6b..e46d404 100644
--- a/src/tools/balooctl/statuscommand.cpp
+++ b/src/tools/balooctl/statuscommand.cpp
@@ -122,12 +122,10 @@ int StatusCommand::exec(const QCommandLineParser& par=
ser)
out << "Content Indexing: ";
if (tr.inPhaseOne(id)) {
out << "Scheduled\n";
- } else if (!tr.documentData(id).isEmpty()) {
- out << "Done\n";
} else if (tr.hasFailed(id)) {
out << "Failed\n";
} else {
- out << "Disabled\n";
+ out << "Done\n";
}
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic