fix for issue #13
This commit is contained in:
parent
8d28a2ea5d
commit
ea3b2e4461
@ -16,6 +16,8 @@
|
|||||||
* along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
* along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <QStyle>
|
||||||
|
#include <QDesktopWidget>
|
||||||
#include "CalamaresApplication.h"
|
#include "CalamaresApplication.h"
|
||||||
|
|
||||||
#include "CalamaresWindow.h"
|
#include "CalamaresWindow.h"
|
||||||
@ -193,6 +195,13 @@ CalamaresApplication::onPluginsReady()
|
|||||||
this, &CalamaresApplication::startPhase );
|
this, &CalamaresApplication::startPhase );
|
||||||
|
|
||||||
startPhase( Calamares::Prepare );
|
startPhase( Calamares::Prepare );
|
||||||
|
m_mainwindow->setGeometry(
|
||||||
|
QStyle::alignedRect(
|
||||||
|
Qt::LeftToRight,
|
||||||
|
Qt::AlignCenter,
|
||||||
|
m_mainwindow->size(),
|
||||||
|
this->desktop()->availableGeometry()
|
||||||
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user