diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2019-10-10 13:33:46 +0300 |
---|---|---|
committer | Markus Goetz <markus@woboq.com> | 2019-10-11 13:57:58 +0300 |
commit | 413ef5e96d098f45694c261bbc409fcf21e0cb65 (patch) | |
tree | 4d364f9a636ec70d3eefa55674517c17b6ac51e8 /src/gui/settingsdialog.cpp | |
parent | be13fcf5a5912557df94b8845123f7292c6701bf (diff) |
Fix too low contrast when tab is selected
Issue: #7512
Diffstat (limited to 'src/gui/settingsdialog.cpp')
-rw-r--r-- | src/gui/settingsdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/settingsdialog.cpp b/src/gui/settingsdialog.cpp index b96e28814..1b8023d07 100644 --- a/src/gui/settingsdialog.cpp +++ b/src/gui/settingsdialog.cpp @@ -311,10 +311,10 @@ void SettingsDialog::accountRemoved(AccountState *s) void SettingsDialog::customizeStyle() { QString highlightColor(palette().highlight().color().name()); - QString altBase(palette().alternateBase().color().name()); + QString highlightTextColor(palette().highlightedText().color().name()); QString dark(palette().dark().color().name()); QString background(palette().base().color().name()); - _toolBar->setStyleSheet(QString::fromLatin1(TOOLBAR_CSS).arg(background, dark, highlightColor, altBase)); + _toolBar->setStyleSheet(QString::fromLatin1(TOOLBAR_CSS).arg(background, dark, highlightColor, highlightTextColor)); Q_FOREACH (QAction *a, _actionGroup->actions()) { QIcon icon = createColorAwareIcon(a->property("iconPath").toString()); |