aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/help/AboutDialog.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-04-12 10:33:06 +0000
committersaturneric <[email protected]>2025-04-12 10:33:06 +0000
commit2c84a775f444300cad8911ceb8e742fe138b5f6d (patch)
treefb6dbed1230a5497808c504d77a3e71dfbf43e80 /src/ui/dialog/help/AboutDialog.cpp
parentfeat: add ui support for adsk features (diff)
downloadGpgFrontend-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.cpp4
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); }