summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/menubareditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/menubareditor.cpp')
-rw-r--r--kdevdesigner/designer/menubareditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdevdesigner/designer/menubareditor.cpp b/kdevdesigner/designer/menubareditor.cpp
index f62e15e0..ce0ae45d 100644
--- a/kdevdesigner/designer/menubareditor.cpp
+++ b/kdevdesigner/designer/menubareditor.cpp
@@ -571,7 +571,7 @@ void MenuBarEditor::paste()
bool MenuBarEditor::eventFilter( TQObject * o, TQEvent * e )
{
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(lineEdit) && e->type() == TQEvent::FocusOut ) {
+ if ( o == lineEdit && e->type() == TQEvent::FocusOut ) {
leaveEditMode();
lineEdit->hide();
update();