Skip to content

Commit

Permalink
Fix FlatTabWidget text coloring
Browse files Browse the repository at this point in the history
  • Loading branch information
timschneeb committed Dec 30, 2021
1 parent 964aef9 commit 49bba4f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/interface/fragment/SettingsFragment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ SettingsFragment::SettingsFragment(TrayIcon *trayIcon,
*/
ui->paletteSelect->addItem("Default", "default");
ui->paletteSelect->addItem("Black", "black");
ui->paletteSelect->addItem("Blue", "blue");
ui->paletteSelect->addItem("Blue Neon", "blue");
ui->paletteSelect->addItem("Dark", "dark");
ui->paletteSelect->addItem("Dark Blue", "darkblue");
ui->paletteSelect->addItem("Dark Green", "darkgreen");
Expand Down
2 changes: 1 addition & 1 deletion src/subprojects/FlatTabWidget
2 changes: 1 addition & 1 deletion src/utils/StyleHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void StyleHelper::setPalette(const ColorStyle &s)
palette->setColor(QPalette::Link, QColor(42, 130, 218));
palette->setColor(QPalette::Highlight, s.selection);
palette->setColor(QPalette::HighlightedText, s.selectiontext);
palette->setColor(QPalette::Disabled, QPalette::Text, s.selectiontext);
palette->setColor(QPalette::Disabled, QPalette::Text, s.disabled);
palette->setColor(QPalette::Disabled, QPalette::WindowText, s.disabled);
palette->setColor(QPalette::Disabled, QPalette::ToolTipText, s.disabled);
palette->setColor(QPalette::Disabled, QPalette::ButtonText, s.disabled);
Expand Down

0 comments on commit 49bba4f

Please sign in to comment.