From b31923c5e5b9013c690e88fbdfc67ea8fdabaa47 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Wed, 24 Jun 2015 21:45:37 +0200 Subject: QStyleSheetStyle: mark QRenderRule and ButtonInfo movable Because they are. Change-Id: Iab029e4b120f10efc99d62960b88fbba7603cc1b Reviewed-by: Friedemann Kleint Reviewed-by: Olivier Goffart (Woboq GmbH) --- src/widgets/styles/qstylesheetstyle.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/widgets/styles/qstylesheetstyle.cpp') diff --git a/src/widgets/styles/qstylesheetstyle.cpp b/src/widgets/styles/qstylesheetstyle.cpp index 34bc59c86f..bf06ebdc1c 100644 --- a/src/widgets/styles/qstylesheetstyle.cpp +++ b/src/widgets/styles/qstylesheetstyle.cpp @@ -586,6 +586,7 @@ public: int clipset; QPainterPath clipPath; }; +Q_DECLARE_TYPEINFO(QRenderRule, Q_MOVABLE_TYPE); /////////////////////////////////////////////////////////////////////////////////////////// static const char *const knownStyleHints[] = { @@ -730,6 +731,7 @@ namespace { int width; }; } +template <> class QTypeInfo : public QTypeInfoMerger {}; QHash QStyleSheetStyle::titleBarLayout(const QWidget *w, const QStyleOptionTitleBar *tb) const { -- cgit v1.2.3