diff options
author | Saturneric <[email protected]> | 2022-07-22 17:21:48 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-07-22 17:21:48 +0000 |
commit | 8729378555af829cdb5ac1f0ab4b0dedff613644 (patch) | |
tree | 94ea60e78e3128c85429ac8f7b63fd7006beb96d /src/ui/help/AboutDialog.cpp | |
parent | fix: fix some issues (diff) | |
download | GpgFrontend-8729378555af829cdb5ac1f0ab4b0dedff613644.tar.gz GpgFrontend-8729378555af829cdb5ac1f0ab4b0dedff613644.zip |
feat(ui): use general main window and dialog class
1. store window size and position
2. store icon size and style
Diffstat (limited to 'src/ui/help/AboutDialog.cpp')
-rw-r--r-- | src/ui/help/AboutDialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/help/AboutDialog.cpp b/src/ui/help/AboutDialog.cpp index e8fbeb1b..16f68958 100644 --- a/src/ui/help/AboutDialog.cpp +++ b/src/ui/help/AboutDialog.cpp @@ -35,7 +35,8 @@ namespace GpgFrontend::UI { -AboutDialog::AboutDialog(int defaultIndex, QWidget* parent) : QDialog(parent) { +AboutDialog::AboutDialog(int defaultIndex, QWidget* parent) + : GeneralDialog(typeid(AboutDialog).name(), parent) { this->setWindowTitle(QString(_("About")) + " " + qApp->applicationName()); auto* tabWidget = new QTabWidget; |