From 5fc3b153d0d2f4762d503a4ef9904873cb523a51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Thu, 27 Dec 2018 09:47:43 +0300 Subject: [PATCH] Fix patch --- .../lxqt-base/lxqt-panel/lxqt-panel-fix_urgent.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/templates/3.6/6_ac_install_patch/lxqt-base/lxqt-panel/lxqt-panel-fix_urgent.patch b/profiles/templates/3.6/6_ac_install_patch/lxqt-base/lxqt-panel/lxqt-panel-fix_urgent.patch index d575026c4..893be8a74 100644 --- a/profiles/templates/3.6/6_ac_install_patch/lxqt-base/lxqt-panel/lxqt-panel-fix_urgent.patch +++ b/profiles/templates/3.6/6_ac_install_patch/lxqt-base/lxqt-panel/lxqt-panel-fix_urgent.patch @@ -27,8 +27,8 @@ index bba5f7a..ad9cceb 100644 + else + { + int i = 0; -+ const int current_cnt = btns.count(); -+ const int border = qMin(btns.count(), m_desktopCount); ++ const int current_cnt = m_buttons->buttons().count(); ++ const int border = qMin(current_cnt, m_desktopCount); + // drop urgency for window from all desktops + for ( ; i < border; ++i) + {