summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-16 12:25:16 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-16 12:27:59 +0100
commit80002efdca465743e00019d448e184467c4284ae (patch)
tree2beaf0c00d928a4493666e85c4b6919b3f0a6ad9 /kde-apps/kmail/files
parentnet-analyzer/etherape: Drop obsolete dependency. (diff)
downloadgentoo-80002efdca465743e00019d448e184467c4284ae.tar.gz
gentoo-80002efdca465743e00019d448e184467c4284ae.tar.bz2
gentoo-80002efdca465743e00019d448e184467c4284ae.zip
kde-apps/kmail: Fix apply filters
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'kde-apps/kmail/files')
-rw-r--r--kde-apps/kmail/files/kmail-17.12.1-applyfilters.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/kde-apps/kmail/files/kmail-17.12.1-applyfilters.patch b/kde-apps/kmail/files/kmail-17.12.1-applyfilters.patch
new file mode 100644
index 000000000000..4952628ecc68
--- /dev/null
+++ b/kde-apps/kmail/files/kmail-17.12.1-applyfilters.patch
@@ -0,0 +1,36 @@
+From e0c1bf6570537086628d455cab22c802d663344d Mon Sep 17 00:00:00 2001
+From: Laurent Montel <montel@kde.org>
+Date: Mon, 15 Jan 2018 13:50:15 +0100
+Subject: Fix Bug 388953 - Apply filters on folder doesn't work anymore
+
+FIXED-IN: 5.7.2
+BUG: 388953
+---
+ src/kmmainwidget.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/kmmainwidget.cpp b/src/kmmainwidget.cpp
+index d0edc48..ab0996e 100644
+--- a/src/kmmainwidget.cpp
++++ b/src/kmmainwidget.cpp
+@@ -3310,7 +3310,7 @@ void KMMainWidget::setupActions()
+ {
+ mApplyAllFiltersFolderAction = new QAction(QIcon::fromTheme(QStringLiteral("view-filter")), i18n("Apply All Filters"), this);
+ actionCollection()->addAction(QStringLiteral("apply_filters_folder"), mApplyAllFiltersFolderAction);
+- connect(mServerSideSubscription, &QAction::triggered,
++ connect(mApplyAllFiltersFolderAction, &QAction::triggered,
+ this, [this] { slotApplyFiltersOnFolder(/* recursive */ false);
+ });
+ }
+@@ -3318,7 +3318,7 @@ void KMMainWidget::setupActions()
+ {
+ mApplyAllFiltersFolderRecursiveAction = new QAction(QIcon::fromTheme(QStringLiteral("view-filter")), i18n("Apply All Filters"), this);
+ actionCollection()->addAction(QStringLiteral("apply_filters_folder_recursive"), mApplyAllFiltersFolderRecursiveAction);
+- connect(mServerSideSubscription, &QAction::triggered,
++ connect(mApplyAllFiltersFolderRecursiveAction, &QAction::triggered,
+ this, [this] { slotApplyFiltersOnFolder(/* recursive */ true);
+ });
+ }
+--
+cgit v0.11.2
+