From 083d32559ddb247bcc18a22a525a416c8ec743b5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 12 Feb 2012 19:13:32 -0600 Subject: Fix a few more build warnings --- src/kernel/qobject.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/kernel/qobject.cpp') diff --git a/src/kernel/qobject.cpp b/src/kernel/qobject.cpp index 7790676..7e01dec 100644 --- a/src/kernel/qobject.cpp +++ b/src/kernel/qobject.cpp @@ -2113,8 +2113,8 @@ bool QObject::disconnectInternal( const QObject *sender, int signal_index, success = TRUE; c = clist->next(); } else if ( r == c->object() && - ( member_index == -1 || - member_index == c->member() && c->memberType() == membcode ) ) { + ( (member_index == -1) || + ((member_index == c->member()) && (c->memberType() == membcode)) ) ) { removeObjFromList( c->object()->senderObjects, s, TRUE ); success = TRUE; clist->remove(); @@ -2138,8 +2138,8 @@ bool QObject::disconnectInternal( const QObject *sender, int signal_index, success = TRUE; c = clist->next(); } else if ( r == c->object() && - ( member_index == -1 || - member_index == c->member() && c->memberType() == membcode ) ) { + ( (member_index == -1) || + ((member_index == c->member()) && (c->memberType() == membcode)) ) ) { removeObjFromList( c->object()->senderObjects, s, TRUE ); success = TRUE; clist->remove(); -- cgit v1.2.1