mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-24 22:43:47 +00:00
Fixed icon and changed minimumsize
This commit is contained in:
parent
dbd37a6d58
commit
0ff068817e
apps/launcher
@ -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…
x
Reference in New Issue
Block a user