Fix build for -no-feature-cssparser
Change-Id: I78b66e8a98458736c69c4955390a98f8889968ea Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>bb10
parent
b3066656e5
commit
59d9ee0aa4
|
|
@ -129,7 +129,9 @@ public:
|
|||
setAttribute(Qt::WA_X11NetWmWindowTypeMenu, true);
|
||||
setWindowTitle(p->windowTitle());
|
||||
setEnabled(p->isEnabled());
|
||||
#if QT_CONFIG(cssparser)
|
||||
setStyleSheet(p->styleSheet());
|
||||
#endif
|
||||
if (style() != p->style())
|
||||
setStyle(p->style());
|
||||
int leftMargin, topMargin, rightMargin, bottomMargin;
|
||||
|
|
|
|||
Loading…
Reference in New Issue