mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-20 15:53:54 +00:00
14 lines
No EOL
338 B
C++
14 lines
No EOL
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());
|
|
} |