Separator no longer inherits from QWidget
Only SeparatorWidget does
This commit is contained in:
@@ -72,7 +72,7 @@ public:
|
||||
void paintEvent(QPaintEvent *) override
|
||||
{
|
||||
QPainter p(this);
|
||||
p.fillRect(rect(), Qt::cyan);
|
||||
p.fillRect(QWidget::rect(), Qt::cyan);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user