diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-12-17 23:13:10 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-12-18 00:48:41 +0100 |
commit | dd1d973125f142537c32bddf814e081e8bf22c80 (patch) | |
tree | d69bb05e8f800e936ac62d5b74c78532a00f1f6f /kde-plasma/plasma-workspace/files | |
parent | kde-plasma/plasma-sdk: Add missing RDEPENDs (diff) | |
download | gentoo-dd1d973125f142537c32bddf814e081e8bf22c80.tar.gz gentoo-dd1d973125f142537c32bddf814e081e8bf22c80.tar.bz2 gentoo-dd1d973125f142537c32bddf814e081e8bf22c80.zip |
kde-plasma/plasma-workspace: Use the right value of EnableMagicMimeActions
KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=409801
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/plasma-workspace/files')
-rw-r--r-- | kde-plasma/plasma-workspace/files/plasma-workspace-5.17.4-fix-disable-mime-based-actions.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.17.4-fix-disable-mime-based-actions.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.17.4-fix-disable-mime-based-actions.patch new file mode 100644 index 000000000000..c6d2f4425dad --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.17.4-fix-disable-mime-based-actions.patch @@ -0,0 +1,38 @@ +From 895e31d6946b63ddba923e58eb08d1ece7de85df Mon Sep 17 00:00:00 2001 +From: Tranter Madi <trmdi@yandex.com> +Date: Wed, 4 Dec 2019 20:34:49 -0700 +Subject: Use the right value of EnableMagicMimeActions + +Summary: BUG: 409801 + +Test Plan: The bug is fixed. + +Reviewers: #plasma, ngraham, apol + +Reviewed By: ngraham + +Subscribers: davidedmundson, ngraham, plasma-devel, #plasma + +Tags: #plasma + +Differential Revision: https://phabricator.kde.org/D25310 +--- + klipper/urlgrabber.cpp | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/klipper/urlgrabber.cpp b/klipper/urlgrabber.cpp +index 28d8ce0..eef9784 100644 +--- a/klipper/urlgrabber.cpp ++++ b/klipper/urlgrabber.cpp +@@ -102,8 +102,7 @@ void URLGrabber::setActionList( const ActionList& list ) + void URLGrabber::matchingMimeActions(const QString& clipData) + { + QUrl url(clipData); +- KConfigGroup cg(KSharedConfig::openConfig(), "Actions"); +- if(!cg.readEntry("EnableMagicMimeActions",true)) { ++ if(!KlipperSettings::enableMagicMimeActions()) { + //qCDebug(KLIPPER_LOG) << "skipping mime magic due to configuration"; + return; + } +-- +cgit v1.1 |