src/dbus/qdbuspendingcall.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   308     \sa QDBusPendingCallWatcher::isFinished()
   308     \sa QDBusPendingCallWatcher::isFinished()
   309 */
   309 */
   310 
   310 
   311 bool QDBusPendingCall::isFinished() const
   311 bool QDBusPendingCall::isFinished() const
   312 {
   312 {
   313     return d && (d->replyMessage.type() != QDBusMessage::InvalidMessage);
   313     return !d || (d->replyMessage.type() != QDBusMessage::InvalidMessage);
   314 }
   314 }
   315 
   315 
   316 void QDBusPendingCall::waitForFinished()
   316 void QDBusPendingCall::waitForFinished()
   317 {
   317 {
   318     if (d) d->waitForFinished();
   318     if (d) d->waitForFinished();