at 17.09-beta 1.2 kB view raw
1From c7460a7fc255ef4e8e0e37798605c4d8bb50633d Mon Sep 17 00:00:00 2001 2From: Orivej Desh <orivej@gmx.fr> 3Date: Sat, 1 Apr 2017 01:30:37 +0000 4Subject: [PATCH] path 5 6--- 7 mainwindow.cpp | 2 +- 8 platform.cpp | 2 +- 9 2 files changed, 2 insertions(+), 2 deletions(-) 10 11diff --git a/mainwindow.cpp b/mainwindow.cpp 12index 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(); 18 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(); 24diff --git a/platform.cpp b/platform.cpp 25index bda86be..c356f1c 100644 26--- a/platform.cpp 27+++ b/platform.cpp 28@@ -22,7 +22,7 @@ QString getConfigPath() { 29 } 30 31 QString getDefaultInterpreterPath() { 32- return "/usr/local/bin/sdl-instead"; 33+ return "@instead@/bin/sdl-instead"; 34 } 35 36 #elif defined(Q_OS_WIN) 37-- 382.12.2 39