diff options
author | saturneric <[email protected]> | 2025-04-12 10:33:06 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-04-12 10:33:06 +0000 |
commit | 2c84a775f444300cad8911ceb8e742fe138b5f6d (patch) | |
tree | fb6dbed1230a5497808c504d77a3e71dfbf43e80 /src/ui/dialog/help/AboutDialog.cpp | |
parent | feat: add ui support for adsk features (diff) | |
download | GpgFrontend-2c84a775f444300cad8911ceb8e742fe138b5f6d.tar.gz GpgFrontend-2c84a775f444300cad8911ceb8e742fe138b5f6d.zip |
fix: wrong ui dialog order after switching apps
Diffstat (limited to 'src/ui/dialog/help/AboutDialog.cpp')
-rw-r--r-- | src/ui/dialog/help/AboutDialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/help/AboutDialog.cpp b/src/ui/dialog/help/AboutDialog.cpp index cca89b9e..ea678a0e 100644 --- a/src/ui/dialog/help/AboutDialog.cpp +++ b/src/ui/dialog/help/AboutDialog.cpp @@ -76,9 +76,9 @@ AboutDialog::AboutDialog(const QString& default_tab_name, QWidget* parent) main_layout->setContentsMargins(QMargins{5, 0, 5, 0}); setLayout(main_layout); - this->resize(520, 620); - this->setMinimumWidth(450); this->show(); + this->raise(); + this->activateWindow(); } void AboutDialog::showEvent(QShowEvent* ev) { QDialog::showEvent(ev); } |