From 7c8d2592313acd023270b273754692677d1749c3 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 5 Apr 2012 16:42:41 +0200 Subject: Q_DECLARE_SHARED: mark the type movable All implicitly shared classes are by definition movable, so this patch adds Q_DECLARE_TYPEINFO(Type, Q_MOVABLE_TYPE) to Q_DECLARE_SHARED. Change-Id: Idf8989ae1a7ed6d1ac13fccb7eaef7395a875350 Reviewed-by: Thiago Macieira Reviewed-by: Olivier Goffart --- src/corelib/io/qfileinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/io/qfileinfo.h') diff --git a/src/corelib/io/qfileinfo.h b/src/corelib/io/qfileinfo.h index 41db9d711d..6b1f79ab3c 100644 --- a/src/corelib/io/qfileinfo.h +++ b/src/corelib/io/qfileinfo.h @@ -150,7 +150,7 @@ private: } }; -Q_DECLARE_TYPEINFO(QFileInfo, Q_MOVABLE_TYPE); +Q_DECLARE_SHARED(QFileInfo) typedef QList QFileInfoList; -- cgit v1.2.3