summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpicture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/image/qpicture.h')
-rw-r--r--src/gui/image/qpicture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/image/qpicture.h b/src/gui/image/qpicture.h
index 49b0fd6..d24f23a 100644
--- a/src/gui/image/qpicture.h
+++ b/src/gui/image/qpicture.h
@@ -85,6 +85,7 @@ public:
inline QPicture &operator=(QPicture &&other)
{ qSwap(d_ptr, other.d_ptr); return *this; }
#endif
+ inline void swap(QPicture &other) { d_ptr.swap(other.d_ptr); }
void detach();
bool isDetached() const;