Separator no longer inherits from QWidget

Only SeparatorWidget does
This commit is contained in:
Sergio Martins
2020-05-24 20:29:49 +01:00
parent c67f1c28f6
commit ba49e1cbe2
14 changed files with 102 additions and 54 deletions

View File

@@ -72,7 +72,7 @@ public:
void paintEvent(QPaintEvent *) override
{
QPainter p(this);
p.fillRect(rect(), Qt::cyan);
p.fillRect(QWidget::rect(), Qt::cyan);
}
};