From b9bd45928ffc74b2400123213e189eb30c965a1e Mon Sep 17 00:00:00 2001 From: John Tapsell Date: Tue, 8 Oct 2013 22:54:25 +0100 Subject: [PATCH] CommConfigurationWindow - don't try to manually center, now that it is a proper QDialog --- src/ui/CommConfigurationWindow.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/ui/CommConfigurationWindow.cc b/src/ui/CommConfigurationWindow.cc index 223abd9..ffb163b 100644 --- a/src/ui/CommConfigurationWindow.cc +++ b/src/ui/CommConfigurationWindow.cc @@ -62,11 +62,6 @@ CommConfigurationWindow::CommConfigurationWindow(LinkInterface* link, ProtocolIn // Setup the user interface according to link type ui.setupUi(this); - // Center the window on the screen. - QRect position = frameGeometry(); - position.moveCenter(QDesktopWidget().availableGeometry().center()); - move(position.topLeft()); - // Initialize basic ui state // Do not allow changes here unless advanced is checked