Fix path for writable location for kurl (kioexec)
There was a porting issue with this code: QStandardPaths::writableLocation do not creates a directory [1], so we need QDir::mkpath. Commit ff412e0b 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]. New behavior was tested by removing CacheLocation, and it successfully creates needed path. 1: http://doc.qt.io/qt-5/qstandardpaths.html#writableLocation 2: https://bugs.kde.org/show_bug.cgi?id=343329 CCBUG: 342732 CCBUG: 343329 REVIEW: 123589 CHANGELOG: kioexec: Fixed path for writeable location for kurl
parent
554b7c9c
Please register or sign in to comment