From 69e1a0fabd82519c551c55d98dfe0f57e0e558b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 28 Apr 2014 17:16:34 +0200 Subject: [PATCH] Remove opacity from Rules::update We failed to implement the TODO for all of KDE4, so maybe it's a sign that we can remove it. Also fixes two warnings: comparison between 'enum KWin::Rules::ForceRule' and 'enum KWin::Rules::SetRule' [-Wenum-compare] REVIEW: 117848 --- rules.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/rules.cpp b/rules.cpp index fde8350d20..2989fc8e28 100644 --- a/rules.cpp +++ b/rules.cpp @@ -545,12 +545,6 @@ bool Rules::update(Client* c, int selection) updated = updated || noborder != c->noBorder(); noborder = c->noBorder(); } - if NOW_REMEMBER(OpacityActive, opacityactive) { - // TODO - } - if NOW_REMEMBER(OpacityInactive, opacityinactive) { - // TODO - } return updated; }