D7535: Don't special case file URLs when processing .desktop files
David Edmundson
noreply at phabricator.kde.org
Fri Aug 25 09:41:48 UTC 2017
davidedmundson created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
At first glance this looks faster, as we skip KIO for a simple stat(),
but as the result isn't cached we do file lookups on every single mouse
move.
This also has the side effect of not blocking Plasma when stat-ing a
file on a disconnected remote drive.
CCBUG: 379994
TEST PLAN
Created two .desktop files one pointing to a dir, another to a file.
One had the arrow to expand the folder, the other did not.
REPOSITORY
R119 Plasma Desktop
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D7535
AFFECTED FILES
containments/desktop/plugins/folder/foldermodel.cpp
To: davidedmundson, #plasma
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170825/516d2a7a/attachment.html>
More information about the Plasma-devel
mailing list