[kio_applications] Fix last dir item being shown twice

Summary:
During porting to the new KIO::SlaveBase::listEntry() API accidentally
the listEntry(entry, true) was turned into a listEntry(), where it
should have been just removed in favour of an existing finished() call.
See 0853202b

Test Plan: applications: and programs: no longer show the last entry twice

Reviewers: #plasma, chinmoyr

Reviewed By: chinmoyr

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18641
parent ddde180a
......@@ -193,6 +193,5 @@ void ApplicationsProtocol::listDir(const QUrl& url)
}
totalSize(count);
listEntry(entry);
finished();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment