diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dbus/qdbuspendingcall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus/qdbuspendingcall.cpp b/src/dbus/qdbuspendingcall.cpp index 06597a6..b7def2e 100644 --- a/src/dbus/qdbuspendingcall.cpp +++ b/src/dbus/qdbuspendingcall.cpp @@ -225,7 +225,7 @@ void QDBusPendingCallPrivate::checkReceivedSignature() return; // no signature to validate against // can't use startsWith here because a null string doesn't start or end with an empty string - if (!replyMessage.signature().indexOf(expectedReplySignature) == 0) { + if (replyMessage.signature().indexOf(expectedReplySignature) != 0) { QString errorMsg = QLatin1String("Unexpected reply signature: got \"%1\", " "expected \"%2\""); replyMessage = QDBusMessage::createError( |