summaryrefslogtreecommitdiffstats
path: root/src/widgets/qdatetimeedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/qdatetimeedit.cpp')
-rw-r--r--src/widgets/qdatetimeedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/qdatetimeedit.cpp b/src/widgets/qdatetimeedit.cpp
index 892c1e618..ccee2adcf 100644
--- a/src/widgets/qdatetimeedit.cpp
+++ b/src/widgets/qdatetimeedit.cpp
@@ -624,7 +624,7 @@ bool TQDateTimeEditor::eventFilter( TQObject *o, TQEvent *e )
TQWidget *w = this;
bool hadDateEdit = FALSE;
while ( w ) {
- if ( ::tqt_cast<TQDateTimeSpinWidget*>(w) && qstrcmp( w->name(), "qt_spin_widget" ) != 0 ||
+ if ( ( ::tqt_cast<TQDateTimeSpinWidget*>(w) && qstrcmp( w->name(), "qt_spin_widget" ) != 0 ) ||
::tqt_cast<TQDateTimeEdit*>(w) )
break;
hadDateEdit = hadDateEdit || ::tqt_cast<TQDateEdit*>(w);