diff options
Diffstat (limited to '')
-rw-r--r-- | src/ui/dialog/WaitingDialog.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/dialog/WaitingDialog.cpp b/src/ui/dialog/WaitingDialog.cpp index bfea0ee6..953622fc 100644 --- a/src/ui/dialog/WaitingDialog.cpp +++ b/src/ui/dialog/WaitingDialog.cpp @@ -28,7 +28,7 @@ #include "WaitingDialog.h" -#include "dialog/GeneralDialog.h" +#include "ui/dialog/GeneralDialog.h" namespace GpgFrontend::UI { @@ -53,6 +53,9 @@ WaitingDialog::WaitingDialog(const QString& title, QWidget* parent) this->setAttribute(Qt::WA_DeleteOnClose); this->setFixedSize(240, 42); + // move to a proper position + this->movePosition2CenterOfParent(); + this->show(); } |