From a34f9ab7489b512e6d74cd450476ade2ede0941a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 8 Jun 2005 13:31:12 +0000 Subject: [PATCH] Rather funny bug ... statements after return are usually not executed :). svn path=/trunk/KDE/kdebase/kwin/; revision=423466 --- kcmkwin/kwindecoration/buttons.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcmkwin/kwindecoration/buttons.cpp b/kcmkwin/kwindecoration/buttons.cpp index fc30bb8677..4378fe3c17 100644 --- a/kcmkwin/kwindecoration/buttons.cpp +++ b/kcmkwin/kwindecoration/buttons.cpp @@ -819,8 +819,8 @@ Button ButtonPositionWidget::getButton(QChar type, bool& success) { bmp.setMask(bmp); return Button(i18n("--- spacer ---"), bmp, '_', true, m_supportedButtons.contains('_') ); } else { - return Button(); success = false; + return Button(); } }