mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 05:28:09 +08:00
fixed paintEvent
This commit is contained in:
committed by
Roland Winklmeier
parent
df5169ee98
commit
6d01376e37
@@ -89,13 +89,8 @@ namespace BlackGui
|
||||
|
||||
void CDockWidget::paintEvent(QPaintEvent *event)
|
||||
{
|
||||
// KB: Should give me style sheet compliance, however I did not notice any difference
|
||||
// included for style sheet compliance
|
||||
// QStyleOption opt;
|
||||
// opt.init(this);
|
||||
// QPainter p(this);
|
||||
// style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this);
|
||||
QDockWidget::paintEvent(event);
|
||||
Q_UNUSED(event);
|
||||
CStyleSheetUtility::useStyleSheetInDerivedWidget(this);
|
||||
}
|
||||
|
||||
void CDockWidget::hideEvent(QHideEvent *event)
|
||||
|
||||
Reference in New Issue
Block a user