Rather funny bug ... statements after return are usually not executed :).
svn path=/trunk/KDE/kdebase/kwin/; revision=423466
This commit is contained in:
parent
7320352a2c
commit
a34f9ab748
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue