Commit 741c60ac authored by Michael Pyne's avatar Michael Pyne

Fix bug 84203, caused by a workaround to QSpinBox's brain-damagedness.

CCMAIL:wheeler@kde.org
CCMAIL:84203-done@bugs.kde.org

svn path=/trunk/kdemultimedia/juk/; revision=328089
parent a7a4a444
......@@ -694,7 +694,8 @@ void TagEditor::showEvent(QShowEvent *e)
bool TagEditor::eventFilter(QObject *watched, QEvent *e)
{
if(watched->inherits("QSpinBox") && e->type() == QEvent::KeyRelease)
QKeyEvent *ke = static_cast<QKeyEvent*>(e);
if(watched->inherits("QSpinBox") && e->type() == QEvent::KeyRelease && ke->state() == 0)
slotDataChanged();
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment