Commit d6d4f330 authored by Frederik Schwarzer's avatar Frederik Schwarzer

Determine full path to gnugo exe by default.

parent 156fc575
......@@ -85,7 +85,7 @@ public:
* @param command The executable command to start in GTP mode.
bool start(const QString &command = QStringLiteral("gnugo --mode gtp"));
bool start(const QString &command);
* Gracefully stop and exit the Go game game.
......@@ -7,7 +7,8 @@
<group name="Backend">
<entry name="EngineCommand" type="String">
<label>The current game engine command with (optional) parameters</label>
<default>gnugo --mode gtp</default>
<default code="true">
QStandardPaths::findExecutable(QStringLiteral("gnugo")) + QStringLiteral(" --mode gtp")</default>
<entry name="EngineWorking" type="Bool">
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment