summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbuspendingcall.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/qdbuspendingcall.h')
-rw-r--r--src/dbus/qdbuspendingcall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dbus/qdbuspendingcall.h b/src/dbus/qdbuspendingcall.h
index 8655435501..0256c4cc6e 100644
--- a/src/dbus/qdbuspendingcall.h
+++ b/src/dbus/qdbuspendingcall.h
@@ -68,6 +68,8 @@ public:
~QDBusPendingCall();
QDBusPendingCall &operator=(const QDBusPendingCall &other);
+ void swap(QDBusPendingCall &other) { qSwap(d, other.d); }
+
#ifndef Q_QDOC
// pretend that they aren't here
bool isFinished() const;