From db95b96854e50b9182ea6e01a3806099ef378cb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 10 Oct 2016 08:30:49 +0200 Subject: [PATCH] [kwinrules] Hide all autogroup related widgets Summary: Window tabs which are required for autogroup are currently not supported in KWin. Thus exposing autogroup related window rules does not make any sense. This change hides the options again in the hope that we can bring the feature back in future. BUG: 370301 FIXED-IN: 5.8.2 Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D2996 --- kcmkwin/kwinrules/ruleswidget.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/kcmkwin/kwinrules/ruleswidget.cpp b/kcmkwin/kwinrules/ruleswidget.cpp index ca0ea3b2d0..b6765da9a8 100644 --- a/kcmkwin/kwinrules/ruleswidget.cpp +++ b/kcmkwin/kwinrules/ruleswidget.cpp @@ -160,6 +160,19 @@ RulesWidget::RulesWidget(QWidget* parent) KColorSchemeManager *schemes = new KColorSchemeManager(this); decocolor->setModel(schemes->model()); + + // hide autogrouping as it's currently not supported + // BUG 370301 + line_11->hide(); + enable_autogroup->hide(); + autogroup->hide(); + rule_autogroup->hide(); + enable_autogroupid->hide(); + autogroupid->hide(); + rule_autogroupid->hide(); + enable_autogroupfg->hide(); + autogroupfg->hide(); + rule_autogroupfg->hide(); } #undef SETUP