mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
refs #419, reviewed style sheet paintEvent code
* removed for QWidget * added for QDialog http://stackoverflow.com/questions/37952348/enable-own-widget-for-stylesheet
This commit is contained in:
@@ -318,12 +318,4 @@ namespace BlackGui
|
||||
m_autoCloseTimer.stop();
|
||||
}
|
||||
}
|
||||
|
||||
void BlackGui::COverlayMessages::paintEvent(QPaintEvent *event)
|
||||
{
|
||||
bool s = CStyleSheetUtility::useStyleSheetInDerivedWidget(this, QStyle::PE_Widget);
|
||||
if (s) { return; }
|
||||
QFrame::paintEvent(event);
|
||||
}
|
||||
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user