Skip to content

Commit

Permalink
chore: change default setting for MinimizeToTaskbar
Browse files Browse the repository at this point in the history
It may cause unexpected window minimalization for Gnome based DE
keepassxreboot/keepassxc#3333
  • Loading branch information
pktiuk authored Nov 13, 2022
1 parent 9a42c2e commit 4dec902
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/gui/mainsettingsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,11 @@ MainSettingsDialog::MainSettingsDialog(AntiMicroSettings *settings, QList<InputD
{
ui->traySingleProfileListCheckBox->setChecked(true);
}

#ifdef Q_OS_LINUX
bool minimizeToTaskBar = settings->value("MinimizeToTaskbar", true).toBool();
#else
bool minimizeToTaskBar = settings->value("MinimizeToTaskbar", false).toBool();
#endif
if (minimizeToTaskBar)
{
ui->minimizeTaskbarCheckBox->setChecked(true);
Expand Down

0 comments on commit 4dec902

Please sign in to comment.