Fixed most depratated warnings.
This commit is contained in:
@@ -73,7 +73,7 @@ SidePanelWidget::SidePanelWidget(QPixmap *p, QWidget *parent) :
|
||||
connect(this, &SidePanelWidget::thicknessChanged,
|
||||
this, &SidePanelWidget::updateThickness);
|
||||
|
||||
QColor background = this->palette().background().color();
|
||||
QColor background = this->palette().window().color();
|
||||
bool isDark = ColorUtils::colorIsDark(background);
|
||||
QString modifier = isDark ? PathInfo::whiteIconPath() :
|
||||
PathInfo::blackIconPath();
|
||||
|
||||
Reference in New Issue
Block a user