Fix crash on hibernate

pull/2/head
Timothy Pearson 12 years ago
parent 26e72a7dad
commit 15cf9762c9

@ -296,7 +296,7 @@ TQT_DBusMessage TQT_DBusConnection::sendWithReply(const TQT_DBusMessage &message
// and the dbus_error_is_set() check cannot be moved inside fromDBusMessage() without breaking the API and ABI.
if (!dbus_error_is_set(&d->error)) {
ret.d->error = TQT_DBusError();
*error = TQT_DBusError();
if (error) *error = TQT_DBusError();
}
return ret;

Loading…
Cancel
Save