QStyleSheetStyle: mark QRenderRule and ButtonInfo movable
Because they are. Change-Id: Iab029e4b120f10efc99d62960b88fbba7603cc1b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
parent
a3f780b4a1
commit
b31923c5e5
@ -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<ButtonInfo> : public QTypeInfoMerger<ButtonInfo, QRenderRule, int> {};
|
||||
|
||||
QHash<QStyle::SubControl, QRect> QStyleSheetStyle::titleBarLayout(const QWidget *w, const QStyleOptionTitleBar *tb) const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user