python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / games / instead-launcher / path.patch
blobf63737bfb160bfc9573660b1df0f0b24e95bb930
1 From c7460a7fc255ef4e8e0e37798605c4d8bb50633d Mon Sep 17 00:00:00 2001
2 From: Orivej Desh <orivej@gmx.fr>
3 Date: Sat, 1 Apr 2017 01:30:37 +0000
4 Subject: [PATCH] path
6 ---
7 mainwindow.cpp | 2 +-
8 platform.cpp | 2 +-
9 2 files changed, 2 insertions(+), 2 deletions(-)
11 diff --git a/mainwindow.cpp b/mainwindow.cpp
12 index 9687c4e..234b176 100644
13 --- a/mainwindow.cpp
14 +++ b/mainwindow.cpp
15 @@ -688,7 +688,7 @@ void MainWindow::loadConfig() {
16 if ( args.contains( "default-gamespath" ) )
17 defGamesPath = args["default-gamespath"].toString();
19 - QString insteadPath = conf.value("InsteadPath", defInsteadPath).toString();
20 + QString insteadPath = defInsteadPath;
21 bool autoRefresh = conf.value("AutoRefresh", "false").toString() == "true";
22 bool autoRefreshSW = conf.value("AutoRefreshSW", "false").toString() == "true";
23 QString lang = conf.value( "Language", "*" ).toString();
24 diff --git a/platform.cpp b/platform.cpp
25 index bda86be..c356f1c 100644
26 --- a/platform.cpp
27 +++ b/platform.cpp
28 @@ -22,7 +22,7 @@ QString getConfigPath() {
31 QString getDefaultInterpreterPath() {
32 - return "/usr/local/bin/sdl-instead";
33 + return "@instead@/bin/sdl-instead";
36 #elif defined(Q_OS_WIN)
37 --
38 2.12.2