File 0001-Fix-new-checkbox-for-file-content-indexing-in-kcm_ba.patch of Package plasma5-desktop
From df9cee28e120167414a5ae79e4835c8b6533f807 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Tue, 18 Apr 2017 22:46:53 +0200
Subject: [PATCH] Fix new checkbox for file content indexing in kcm_baloofile
Summary: Needs a new connection to enable the "Apply" button.
Reviewers: #plasma, davidedmundson
Reviewed By: #plasma, davidedmundson
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D5499
---
kcms/baloo/kcm.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/kcms/baloo/kcm.cpp b/kcms/baloo/kcm.cpp
index a192ad5a..0cb77bc5 100644
--- a/kcms/baloo/kcm.cpp
+++ b/kcms/baloo/kcm.cpp
@@ -73,6 +73,8 @@ ServerConfigModule::ServerConfigModule(QWidget* parent, const QVariantList& args
this, &ServerConfigModule::onDirectoryListChanged);
connect(m_enableCheckbox, SIGNAL(stateChanged(int)),
this, SLOT(changed()));
+ connect(m_enableContentIndexing, SIGNAL(stateChanged(int)),
+ this, SLOT(changed()));
connect(m_enableCheckbox, SIGNAL(stateChanged(int)),
this, SLOT(indexingEnabledChanged()));
}
--
2.12.0