diff options
Diffstat (limited to 'src/settingswidget.cpp')
-rw-r--r-- | src/settingswidget.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/settingswidget.cpp b/src/settingswidget.cpp index fcc348d..8e61b38 100644 --- a/src/settingswidget.cpp +++ b/src/settingswidget.cpp @@ -486,6 +486,14 @@ void SettingsWidget::on_showShortcutsButton_clicked() { label->setAlignment(Qt::AlignHCenter); layout->addWidget(label); } + // handle special case for minimize to try action + if (action->text().contains("minimize", Qt::CaseInsensitive) || + action->text().contains("Mi&nimize to tray")) { + QLabel *label = new QLabel( + action->text().remove("&") + " | " + "Ctrl+W", sheet); + label->setAlignment(Qt::AlignHCenter); + layout->addWidget(label); + } } } sheet->setAttribute(Qt::WA_DeleteOnClose); |