From 3a8b238052163952831fb5924b2483a375e86ebd Mon Sep 17 00:00:00 2001 From: Jan Dalheimer Date: Thu, 28 May 2015 19:38:29 +0200 Subject: NOISSUE Various changes from multiauth that are unrelated to it --- logic/QObjectPtr.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'logic/QObjectPtr.h') diff --git a/logic/QObjectPtr.h b/logic/QObjectPtr.h index 2bde1bd8..32e59bd9 100644 --- a/logic/QObjectPtr.h +++ b/logic/QObjectPtr.h @@ -19,6 +19,11 @@ public: { m_ptr = other.m_ptr; } + template + QObjectPtr(const QObjectPtr &other) + { + m_ptr = other.unwrap(); + } public: void reset(T * wrap) -- cgit v1.2.3