Skip to content

Commit 6d465e3

Browse files
committed
add default runner in global settings
1 parent bce3910 commit 6d465e3

File tree

9 files changed

+657
-218
lines changed

9 files changed

+657
-218
lines changed

src/LevelViewList.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,5 +466,5 @@ void CardItemDelegate::paint(QPainter *painter,
466466

467467
QSize CardItemDelegate::sizeHint(
468468
const QStyleOptionViewItem&, const QModelIndex&) const {
469-
return QSize(600, 180);
469+
return QSize(590, 180);
470470
}

src/Model.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ void Model::run(RunnerOptions options) {
172172
m_runner.addArguments(QStringList() << arument);
173173
} else if (options.command == BASH) {
174174
m_runner.addArguments(QStringList() << "start.sh");
175+
if (options.setup) {
176+
m_runner.addArguments(QStringList() << "-setup");
177+
}
175178
}
176179

177180
m_runner.setCurrentWorkingDirectory(path.get());

src/TombRaiderLinuxLauncher.cpp

Lines changed: 151 additions & 76 deletions
Large diffs are not rendered by default.

src/TombRaiderLinuxLauncher.ui

Lines changed: 500 additions & 140 deletions
Large diffs are not rendered by default.

src/pictures/Lara.jpg

-111 KB
Binary file not shown.

src/pictures/Lara.png

182 KB
Loading

src/pictures/Lara2.xcf

-6.38 MB
Binary file not shown.

src/pictures/Lara4.png

654 KB
Loading

src/resources.qrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
<qresource>
33
<file>icons/down-arrow.svg</file>
44
<file>icons/up-arrow.svg</file>
5-
<file>pictures/Lara.jpg</file>
5+
<file>pictures/Lara.png</file>
66
<file>pictures/Lara2.jpg</file>
77
<file>pictures/Lara3.jpg</file>
8+
<file>pictures/Lara4.png</file>
89
<file>pictures/Tomb_Raider_I.jpg</file>
910
<file>pictures/Tomb_Raider_IUB.jpg</file>
1011
<file>pictures/Tomb_Raider_II.jpg</file>

0 commit comments

Comments
 (0)