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:
parent
dbd37a6d58
commit
0ff068817e
3 changed files with 5 additions and 2 deletions
|
@ -20,3 +20,4 @@ SOURCES += datafilespage.cpp \
|
|||
qrc_resources.cxx
|
||||
|
||||
RESOURCES += resources.qrc
|
||||
RC_FILE = launcher.rc
|
||||
|
|
|
@ -1 +1 @@
|
|||
IDI_ICON1 ICON DISCARDABLE "resources/openmw_icon.ico"
|
||||
IDI_ICON1 ICON DISCARDABLE "resources/images/openmw-icon.ico"
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue