summaryrefslogtreecommitdiffstats
path: root/src/kernel/qobject.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-12 19:13:32 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-12 19:13:32 -0600
commit083d32559ddb247bcc18a22a525a416c8ec743b5 (patch)
treec752834f6dfb494bdfd2d069c68faa1acecf63af /src/kernel/qobject.cpp
parentbad353a20d02b625587d9ca166518aa6287d9dbc (diff)
downloadqt3-083d32559ddb247bcc18a22a525a416c8ec743b5.tar.gz
qt3-083d32559ddb247bcc18a22a525a416c8ec743b5.zip
Fix a few more build warnings
Diffstat (limited to 'src/kernel/qobject.cpp')
-rw-r--r--src/kernel/qobject.cpp8
1 files changed, 4 insertions, 4 deletions
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();