From ebcb1d80bf517aceb69778e1e9f67e5f4da8c484 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 28 Jul 2012 15:50:52 -0500 Subject: Fix build warnings Thanks to Bruce Sass for the patch! --- src/widgets/qdatetimeedit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/qdatetimeedit.cpp') diff --git a/src/widgets/qdatetimeedit.cpp b/src/widgets/qdatetimeedit.cpp index 6f6ca71..dfd8353 100644 --- a/src/widgets/qdatetimeedit.cpp +++ b/src/widgets/qdatetimeedit.cpp @@ -624,7 +624,7 @@ bool QDateTimeEditor::eventFilter( QObject *o, QEvent *e ) QWidget *w = this; bool hadDateEdit = FALSE; while ( w ) { - if ( ::qt_cast(w) && qstrcmp( w->name(), "qt_spin_widget" ) != 0 || + if ( ( ::qt_cast(w) && qstrcmp( w->name(), "qt_spin_widget" ) != 0 ) || ::qt_cast(w) ) break; hadDateEdit = hadDateEdit || ::qt_cast(w); -- cgit v1.2.3