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/qbuttongroup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/qbuttongroup.cpp') diff --git a/src/widgets/qbuttongroup.cpp b/src/widgets/qbuttongroup.cpp index ebcc580..8737804 100644 --- a/src/widgets/qbuttongroup.cpp +++ b/src/widgets/qbuttongroup.cpp @@ -434,7 +434,7 @@ void QButtonGroup::buttonClicked() void QButtonGroup::buttonToggled( bool on ) { // introduce a QButtonListIt if calling anything - if ( !on || !excl_grp && !radio_excl ) + if ( !on || ( !excl_grp && !radio_excl ) ) return; QButton *bt = ::qt_cast(sender()); // object that sent the signal #if defined(QT_CHECK_NULL) -- cgit v1.2.3