mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 15:35:23 +00:00
14 lines
338 B
C++
14 lines
338 B
C++
|
|
||
|
#include "newgame.hpp"
|
||
|
|
||
|
#include <QApplication>
|
||
|
#include <QDesktopWidget>
|
||
|
|
||
|
CSVDoc::NewGameDialogue::NewGameDialogue()
|
||
|
{
|
||
|
setWindowTitle ("Create New Game");
|
||
|
|
||
|
QRect scr = QApplication::desktop()->screenGeometry();
|
||
|
QRect rect = geometry();
|
||
|
move (scr.center().x() - rect.center().x(), scr.center().y() - rect.center().y());
|
||
|
}
|