mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-28 08:37:12 +00:00
Fixed icon and changed minimumsize
This commit is contained in:
parent
dbd37a6d58
commit
0ff068817e
@ -20,3 +20,4 @@ SOURCES += datafilespage.cpp \
|
|||||||
qrc_resources.cxx
|
qrc_resources.cxx
|
||||||
|
|
||||||
RESOURCES += resources.qrc
|
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);
|
//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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user