Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
15 lines
926 B
Diff
15 lines
926 B
Diff
diff -Nru ostinato-414d89860de0987843295d149bcabeac7c6fd9e5/server/drone_main.cpp ostinato-414d89860de0987843295d149bcabeac7c6fd9e5.new/server/drone_main.cpp
|
|
--- ostinato-414d89860de0987843295d149bcabeac7c6fd9e5/server/drone_main.cpp 2015-12-24 16:46:35.000000000 +0800
|
|
+++ ostinato-414d89860de0987843295d149bcabeac7c6fd9e5.new/server/drone_main.cpp 2015-12-30 20:59:04.319199699 +0800
|
|
@@ -62,8 +62,8 @@
|
|
/* (Portable Mode) If we have a .ini file in the same directory as the
|
|
executable, we use that instead of the platform specific location
|
|
and format for the settings */
|
|
- QString portableIni = QCoreApplication::applicationDirPath()
|
|
- + "/drone.ini";
|
|
+ QString portableIni = argc > 2 ? argv[2] :
|
|
+ QCoreApplication::applicationDirPath() + "/drone.ini";
|
|
if (QFile::exists(portableIni))
|
|
appSettings = new QSettings(portableIni, QSettings::IniFormat);
|
|
else
|