From 7b0dcb48a658f825e91acea4bbbcf0798c27695a Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Tue, 24 Jan 2012 23:28:11 +0100 Subject: [PATCH] Mark QStringList as movable. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I27fb523c43ace195d04d729c800669246a1930d7 Reviewed-by: João Abecasis Reviewed-by: Thiago Macieira --- src/corelib/tools/qstringlist.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/corelib/tools/qstringlist.h b/src/corelib/tools/qstringlist.h index 93414d9..f704f79 100644 --- a/src/corelib/tools/qstringlist.h +++ b/src/corelib/tools/qstringlist.h @@ -106,6 +106,8 @@ public: #endif }; +Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); + namespace QtPrivate { void Q_CORE_EXPORT QStringList_sort(QStringList *that); int Q_CORE_EXPORT QStringList_removeDuplicates(QStringList *that); -- 2.7.4