1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:23:52 +00:00

Fixed icon and changed minimumsize

This commit is contained in:
Pieter van der Kloet 2011-05-03 16:26:22 +02:00
parent dbd37a6d58
commit 0ff068817e
3 changed files with 5 additions and 2 deletions

View file

@ -20,3 +20,4 @@ SOURCES += datafilespage.cpp \
qrc_resources.cxx
RESOURCES += resources.qrc
RC_FILE = launcher.rc

View file

@ -1 +1 @@
IDI_ICON1 ICON DISCARDABLE "resources/openmw_icon.ico"
IDI_ICON1 ICON DISCARDABLE "resources/images/openmw-icon.ico"

View file

@ -53,7 +53,8 @@ MainDialog::MainDialog()
//mainLayout->addSpacing(12);
setWindowTitle(tr("OpenMW Launcher"));
setMinimumSize(QSize(550, 450));
setWindowIcon(QIcon(":/images/openmw-icon.png"));
setMinimumSize(QSize(575, 575));
connect(buttonBox, SIGNAL(rejected()), this, SLOT(close()));
connect(buttonBox, SIGNAL(accepted()), this, SLOT(play()));
@ -201,6 +202,7 @@ void MainDialog::play()
return;
}
// Start the game
if (!process.startDetached(game)) {
QMessageBox msgBox;
msgBox.setWindowTitle("Error starting OpenMW");