Make Item::hostWidget be a Layouting::Widget instead of QWidget
Just an abstraction preparing for QQuickItem support
This commit is contained in:
@@ -72,7 +72,7 @@ void FrameWidget::paintEvent(QPaintEvent *)
|
||||
QPainter p(this);
|
||||
QPen pen(QColor(184, 184, 184, 184));
|
||||
p.setPen(pen);
|
||||
p.drawRoundedRect(rect().adjusted(0, 0, -1, -1), 2, 2);
|
||||
p.drawRoundedRect(QWidget::rect().adjusted(0, 0, -1, -1), 2, 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user