diff --git a/retroshare-gui/src/gui/StartDialog.cpp b/retroshare-gui/src/gui/StartDialog.cpp index beb1175dc..175456b21 100644 --- a/retroshare-gui/src/gui/StartDialog.cpp +++ b/retroshare-gui/src/gui/StartDialog.cpp @@ -29,6 +29,7 @@ #include #include +#include #include @@ -46,6 +47,10 @@ StartDialog::StartDialog(QWidget *parent) #endif Settings->loadWidgetInformation(this); + + /* Put the Login dialog in the screen center */ + const QRect screen = QApplication::desktop()->screenGeometry(); + this->move( screen.center() - this->rect().center() ); /* get all available pgp private certificates.... * mark last one as default.