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

@@ -36,7 +36,7 @@ TextConfig::TextConfig(QWidget *parent) : QWidget(parent) {
int index = fontsCB->findText(font().family());
fontsCB->setCurrentIndex(index);
QColor bgColor(palette().background().color());
QColor bgColor(palette().windowText().color());
QString iconPrefix = ColorUtils::colorIsDark(bgColor) ?
PathInfo::whiteIconPath() :
PathInfo::blackIconPath();