From b486c57476accd6c9d72ea1aecb447f0aec17f7f Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 21 Aug 2012 11:31:14 +0200 Subject: [PATCH] ProStringList is a movable type, so let qt know Change-Id: Ib3b632e8fbd484ad20418926398e224fe1549f5b Reviewed-by: Daniel Teske --- src/shared/proparser/proitems.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/proparser/proitems.h b/src/shared/proparser/proitems.h index 4e95beaeea7..4423ff9bd1d 100644 --- a/src/shared/proparser/proitems.h +++ b/src/shared/proparser/proitems.h @@ -245,6 +245,7 @@ public: { return contains(ProString(str), cs); } bool contains(const char *str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; }; +Q_DECLARE_TYPEINFO(ProStringList, Q_MOVABLE_TYPE); inline ProStringList operator+(const ProStringList &one, const ProStringList &two) { ProStringList ret = one; ret += two; return ret; }