1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 06:53:53 +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 qrc_resources.cxx
RESOURCES += resources.qrc 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); //mainLayout->addSpacing(12);
setWindowTitle(tr("OpenMW Launcher")); 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(rejected()), this, SLOT(close()));
connect(buttonBox, SIGNAL(accepted()), this, SLOT(play())); connect(buttonBox, SIGNAL(accepted()), this, SLOT(play()));
@ -201,6 +202,7 @@ void MainDialog::play()
return; return;
} }
// Start the game
if (!process.startDetached(game)) { if (!process.startDetached(game)) {
QMessageBox msgBox; QMessageBox msgBox;
msgBox.setWindowTitle("Error starting OpenMW"); msgBox.setWindowTitle("Error starting OpenMW");