diff --git a/apps/launcher/launcher.pro b/apps/launcher/launcher.pro index 2df51bb654..5c05dcb90c 100644 --- a/apps/launcher/launcher.pro +++ b/apps/launcher/launcher.pro @@ -20,3 +20,4 @@ SOURCES += datafilespage.cpp \ qrc_resources.cxx RESOURCES += resources.qrc +RC_FILE = launcher.rc diff --git a/apps/launcher/launcher.rc b/apps/launcher/launcher.rc index 3d22c74fc9..c369a5b061 100644 --- a/apps/launcher/launcher.rc +++ b/apps/launcher/launcher.rc @@ -1 +1 @@ -IDI_ICON1 ICON DISCARDABLE "resources/openmw_icon.ico" +IDI_ICON1 ICON DISCARDABLE "resources/images/openmw-icon.ico" diff --git a/apps/launcher/maindialog.cpp b/apps/launcher/maindialog.cpp index dcef48c982..c2cf8bc1e4 100644 --- a/apps/launcher/maindialog.cpp +++ b/apps/launcher/maindialog.cpp @@ -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");