Review Request 123589: kioexec: Fix path for writable location for kurl
Boris Egorov
egorov at linux.com
Sat May 2 11:03:01 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123589/
-----------------------------------------------------------
(Updated May 2, 2015, 11:03 a.m.)
Status
------
This change has been marked as submitted.
Review request for KDE Frameworks and David Faure.
Changes
-------
Submitted with commit b290473167b9d0388715fffe494ee95a5c2c2851 by Boris Egorov to branch master.
Bugs: 342732
https://bugs.kde.org/show_bug.cgi?id=342732
Repository: kio
Description
-------
There was a porting issue with this code:
QStandardPaths::writableLocation do not creates a directory [1], so we
need QDir::mkpath. Commit ff412e0bd3ba54 tried to fix it, but it gone
too far: we need to create directory only up to "/krun/", strings after
that is filename. So we were creating directory instead of file,
confusing some apps. For example, kate [2].
1: http://doc.qt.io/qt-5/qstandardpaths.html#writableLocation
2: https://bugs.kde.org/show_bug.cgi?id=343329
Diffs
-----
src/kioexec/main.cpp 8fb7ef3
Diff: https://git.reviewboard.kde.org/r/123589/diff/
Testing
-------
New behavior was tested by removing CacheLocation, and it successfully
creates needed path.
Thanks,
Boris Egorov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150502/b94e9e73/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list