parent
ec5d09c073
commit
adc4b22062
@ -1,17 +0,0 @@
|
||||
diff -up plasma-desktop-5.8.5/containments/desktop/plugins/folder/foldermodel.cpp.than plasma-desktop-5.8.5/containments/desktop/plugins/folder/foldermodel.cpp
|
||||
--- plasma-desktop-5.8.5/containments/desktop/plugins/folder/foldermodel.cpp.than 2017-02-13 17:02:37.079245114 +0100
|
||||
+++ plasma-desktop-5.8.5/containments/desktop/plugins/folder/foldermodel.cpp 2017-02-13 17:46:04.152443288 +0100
|
||||
@@ -509,7 +509,12 @@ void FolderModel::run(int row)
|
||||
url.setScheme(QStringLiteral("file"));
|
||||
}
|
||||
|
||||
- new KRun(url, 0);
|
||||
+ KRun *run = new KRun(url, 0);
|
||||
+ // On desktop:/ we want to be able to run .desktop files right away,
|
||||
+ // otherwise ask for security reasons. We also don't use the targetUrl()
|
||||
+ // from above since we don't want the resolved /home/foo/Desktop URL.
|
||||
+ run->setShowScriptExecutionPrompt(item.url().scheme() != QLatin1String("desktop")
|
||||
+ || item.url().adjusted(QUrl::RemoveFilename).path() != QLatin1String("/"));
|
||||
}
|
||||
|
||||
void FolderModel::rename(int row, const QString& name)
|
@ -1 +1 @@
|
||||
SHA512 (plasma-desktop-5.8.5.tar.xz) = d8ef41f5e2a041de04f353e04274062ca4be069ffe88b5cfb0c9a2e5b1395631a8adaf0fda50a784a61a2585c0a503d84730a8c2df844aba71e894bd1f17915e
|
||||
SHA512 (plasma-desktop-5.8.6.tar.xz) = 703dcc555da6c609f858185468694d2c204478d2c7c5822ebfc57a7153899e57e81ce7ab0b2533f30e3e1a3c20bb358f63c5ff26f833b0bf4ab3bc5dec283f7e
|
||||
|
Loading…
Reference in new issue