diff options
| author | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:35 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:35 +0200 |
| commit | ffc62c792c9a5196cb4ce7a353287dfe20db6524 (patch) | |
| tree | 1269efa852935b183daae4bb33a58d1b4d2ffb53 /widgets/logqso.cpp | |
| parent | 059831534c7e884f0a607ed86b582fd00d821731 (diff) | |
New upstream version 3.3.0~beta1+dfsgupstream/3.3.0_beta1+dfsg
Diffstat (limited to 'widgets/logqso.cpp')
| -rw-r--r-- | widgets/logqso.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/widgets/logqso.cpp b/widgets/logqso.cpp index 5a81f145..91f581c6 100644 --- a/widgets/logqso.cpp +++ b/widgets/logqso.cpp @@ -83,7 +83,7 @@ namespace LogQSO::LogQSO(QString const& programTitle, QSettings * settings , Configuration const * config, LogBook * log, QWidget *parent) - : QDialog {parent, Qt::WindowStaysOnTopHint | Qt::WindowTitleHint | Qt::WindowSystemMenuHint} + : QDialog {parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint} , ui(new Ui::LogQSO) , m_settings (settings) , m_config {config} @@ -218,7 +218,13 @@ void LogQSO::initLogQSO(QString const& hisCall, QString const& hisGrid, QString Radio::Frequency dialFreq, bool noSuffix, QString xSent, QString xRcvd) { - if(!isHidden()) return; + if (!isHidden ()) + { + if (isMinimized ()) showNormal (); + raise (); + activateWindow (); + return; + } QPushButton* okBtn = ui->buttonBox->button(QDialogButtonBox::Ok); okBtn->setAutoDefault(true); okBtn->setDefault(true); |
