summaryrefslogtreecommitdiffstats
path: root/juk
diff options
context:
space:
mode:
Diffstat (limited to 'juk')
-rw-r--r--juk/tageditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/juk/tageditor.cpp b/juk/tageditor.cpp
index 449f4392..eb2dfa88 100644
--- a/juk/tageditor.cpp
+++ b/juk/tageditor.cpp
@@ -767,7 +767,7 @@ void TagEditor::showEvent(TQShowEvent *e)
bool TagEditor::eventFilter(TQObject *watched, TQEvent *e)
{
TQKeyEvent *ke = static_cast<TQKeyEvent*>(e);
- if(watched->inherits("TQSpinBox") && e->type() == TQEvent::KeyRelease && ke->state() == 0)
+ if(watched->inherits(TQSPINBOX_OBJECT_NAME_STRING) && e->type() == TQEvent::KeyRelease && ke->state() == 0)
slotDataChanged();
return false;