Skip to content

Commit

Permalink
fix(about_dialog): Always use black color for windows texts (#898)
Browse files Browse the repository at this point in the history
Signed-off-by: Natsuki Ikeguchi <me@s6n.jp>

PiperOrigin-RevId: 616128598
  • Loading branch information
siketyan authored Mar 15, 2024
1 parent 37424fc commit c2a54da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/about_dialog/about_dialog.cc
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ AboutDialog::AboutDialog(QWidget *parent)
setWindowModality(Qt::NonModal);
QPalette window_palette;
window_palette.setColor(QPalette::Window, QColor(255, 255, 255));
window_palette.setColor(QPalette::WindowText, QColor(0, 0, 0));
setPalette(window_palette);
setAutoFillBackground(true);
std::string version_info = "(" + Version::GetMozcVersion() + ")";
Expand Down

0 comments on commit c2a54da

Please sign in to comment.