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
wilder-5.18
Tranter Madi 6 years ago committed by Nate Graham
parent e7803ecc58
commit 895e31d694
  1. 3
      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;
}

Loading…
Cancel
Save