[SOLVED] How to ensure that a dialog always appears at center of the screen
Whenever i invoke the dialog, main application being hidden, the dialog appears at corner.
You can simply set geometry for your Dialog to the center of the screen...
Dialog::Dialog(QWidget *parent) : QDialog(parent)
const QRect screen = QApplication::desktop()->screenGeometry();
this->move( screen.center() - this->rect().center() );