mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
UI Nits: Center Preferences/Options pane
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user