diff options
author | Eric Hameleers <alien@slackware.com> | 2020-07-31 16:13:18 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-07-31 16:13:18 +0200 |
commit | 703149752c6265b36973d2c1f0f5a69721e3128a (patch) | |
tree | 7ded0d801771d5705f48ffbfb48f37dd4829439e /kde/patch/ark/ark_kdebug357057.patch | |
parent | dd005500c624d127321ff3fe14a0c29bfa8d67f7 (diff) | |
parent | cd7ff1719433fbb3b6a8304596be173bc1b91b00 (diff) | |
download | ktown-master.tar.gz ktown-master.tar.xz |
Diffstat (limited to 'kde/patch/ark/ark_kdebug357057.patch')
-rw-r--r-- | kde/patch/ark/ark_kdebug357057.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/kde/patch/ark/ark_kdebug357057.patch b/kde/patch/ark/ark_kdebug357057.patch deleted file mode 100644 index 76c0bab..0000000 --- a/kde/patch/ark/ark_kdebug357057.patch +++ /dev/null @@ -1,37 +0,0 @@ -From: Elvis Angelaccio <elvis.angelaccio@kdemail.net> -Date: Wed, 23 Dec 2015 16:19:29 +0000 -Subject: Fallback to read-only mode if there are no read-write executables -X-Git-Url: http://quickgit.kde.org/?p=ark.git&a=commitdiff&h=087e5aab49c60ac5930742fe892fa930048e2f43 ---- -Fallback to read-only mode if there are no read-write executables - -Commit 2d000a0 introduced executables check when loading a plugin. However the -current behavior is too restrictive: if one wants only to open a rar or a -zip archive, there is no need to require also the rar or zip program to be -installed. Plus, some distributions (e.g. Archlinux) ship only unrar in their -official repositories. - -With this commit, Ark is able to understand that e.g. unrar is installed but -rar is not. In this case, Ark can and should fallback to read-only mode, -to disable the Add/Delete actions in the toolbar. - -BUG: 357057 -FIXED-IN: 15.12.1 - -CC: rthomsen6@gmail.com ---- - - ---- a/kerfuffle/archive_kerfuffle.cpp -+++ b/kerfuffle/archive_kerfuffle.cpp -@@ -173,6 +173,9 @@ - - if (iface->findExecutables(!isReadOnly)) { - return new Archive(iface, isReadOnly, parent); -+ } else if (!isReadOnly && iface->findExecutables(false)) { -+ qCWarning(ARK) << "Failed to find read-write executables: falling back to read-only mode for read-write plugin" << pluginName; -+ return new Archive(iface, true, parent); - } else { - qCWarning(ARK) << "Failed to find needed executables for plugin" << pluginName; - } - |