[calamares] Do not attempt to center Calamares window

- this isn't really a Calamares thing to decide, and anyway centering
   on the desktop is kind of weird in multi-monitor setups and the
   DesktopWidget is deprecated as well.
This commit is contained in:
Adriaan de Groot 2019-11-26 16:46:47 +01:00
parent 2ad8ff4228
commit fc7ea80d99

View File

@ -357,8 +357,6 @@ CalamaresApplication::initView()
QTimer::singleShot( 0, m_moduleManager, &Calamares::ModuleManager::loadModules );
m_mainwindow->move( this->desktop()->availableGeometry().center() - m_mainwindow->rect().center() );
cDebug() << "STARTUP: CalamaresWindow created; loadModules started";
}