From kde-commits Mon Dec 14 23:46:14 2015 From: Vishesh Handa Date: Mon, 14 Dec 2015 23:46:14 +0000 To: kde-commits Subject: [baloo] src/tools/balooctl: StatusCommand: Show the correct status for folders Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=145013678326790 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"; } } }