Browse Source

CommConfigurationWindow - don't try to manually center, now that it is a proper QDialog

QGC4.4
John Tapsell 12 years ago
parent
commit
b9bd45928f
  1. 5
      src/ui/CommConfigurationWindow.cc

5
src/ui/CommConfigurationWindow.cc

@ -62,11 +62,6 @@ CommConfigurationWindow::CommConfigurationWindow(LinkInterface* link, ProtocolIn @@ -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

Loading…
Cancel
Save