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(); } }