Fixed most depratated warnings.

This commit is contained in:
Jeremy Borgman
2020-07-10 20:56:30 -05:00
parent f5013df306
commit dc77029cde
14 changed files with 19 additions and 15 deletions

View File

@@ -52,7 +52,7 @@ ConfigWindow::ConfigWindow(QWidget *parent) : QTabWidget(parent) {
connect(m_configWatcher, &QFileSystemWatcher::fileChanged,
this, changedSlot);
QColor background = this->palette().background().color();
QColor background = this->palette().window().color();
bool isDark = ColorUtils::colorIsDark(background);
QString modifier = isDark ? PathInfo::whiteIconPath() :
PathInfo::blackIconPath();