mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45:35 +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:
@@ -66,13 +66,6 @@ namespace BlackGui
|
||||
return m;
|
||||
}
|
||||
|
||||
void CMarginsInput::paintEvent(QPaintEvent *event)
|
||||
{
|
||||
bool s = CStyleSheetUtility::useStyleSheetInDerivedWidget(this, QStyle::PE_Widget);
|
||||
if (s) { return; }
|
||||
QFrame::paintEvent(event);
|
||||
}
|
||||
|
||||
void CMarginsInput::ps_Confirmed()
|
||||
{
|
||||
const QMargins m(this->getMargins());
|
||||
|
||||
Reference in New Issue
Block a user