summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-05-19 00:53:39 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-05-19 00:53:39 +0200
commiteff2cc1688823cfb17e9aefd4e73088c03f7d915 (patch)
tree66ae1028f9766dd24203744714265d8acc353061 /kde-plasma/plasma-desktop/files
parentcmake-utils.eclass: Drop versionator.eclass (diff)
downloadgentoo-eff2cc1688823cfb17e9aefd4e73088c03f7d915.tar.gz
gentoo-eff2cc1688823cfb17e9aefd4e73088c03f7d915.tar.bz2
gentoo-eff2cc1688823cfb17e9aefd4e73088c03f7d915.zip
kde-plasma/plasma-desktop: Fix submenus not updating regression
See also: https://bugs.kde.org/show_bug.cgi?id=394013 Package-Manager: Portage-2.3.38, Repoman-2.3.9
Diffstat (limited to 'kde-plasma/plasma-desktop/files')
-rw-r--r--kde-plasma/plasma-desktop/files/plasma-desktop-5.12.5-submodules-update.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.12.5-submodules-update.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.12.5-submodules-update.patch
new file mode 100644
index 000000000000..ce6c7a8a2791
--- /dev/null
+++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.12.5-submodules-update.patch
@@ -0,0 +1,39 @@
+From c0cd1f8d49e6d63f1988d4749c366a0bef177790 Mon Sep 17 00:00:00 2001
+From: Eike Hein <hein@kde.org>
+Date: Wed, 9 May 2018 16:24:15 +0900
+Subject: Fix submenus not updating when switching between categories of the
+ same size
+
+Summary:
+This fixes a regression introduced in 38403268aad3, which forgot to
+handle the branch where the counts are the same.
+
+BUG:394013
+
+Reviewers: #plasma
+
+Subscribers: plasma-devel
+
+Tags: #plasma
+
+Differential Revision: https://phabricator.kde.org/D12774
+---
+ applets/kicker/plugin/funnelmodel.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/applets/kicker/plugin/funnelmodel.cpp b/applets/kicker/plugin/funnelmodel.cpp
+index 26cad55..165e43d 100644
+--- a/applets/kicker/plugin/funnelmodel.cpp
++++ b/applets/kicker/plugin/funnelmodel.cpp
+@@ -81,6 +81,8 @@ void FunnelModel::setSourceModel(QAbstractItemModel *model)
+ setNewModel();
+ endRemoveRows();
+ }
++ } else {
++ setNewModel();
+ }
+
+ if (newCount > 0) {
+--
+cgit v0.11.2
+