Rather funny bug ... statements after return are usually not executed :).

svn path=/trunk/KDE/kdebase/kwin/; revision=423466
This commit is contained in:
Luboš Luňák 2005-06-08 13:31:12 +00:00
parent 7320352a2c
commit a34f9ab748

View file

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