UI Nits: Center Preferences/Options pane

This commit is contained in:
Mark Liversedge
2013-11-07 14:30:57 +00:00
parent 919629af70
commit 4f05a0fe54

View File

@@ -775,6 +775,9 @@ void
MainWindow::showOptions()
{
ConfigDialog *cd = new ConfigDialog(context->athlete->home, context->athlete->zones_, context);
// move to the centre of the screen
cd->move(geometry().center()-QPoint(cd->geometry().width()/2, cd->geometry().height()/2));
cd->show();
}