diff options
Diffstat (limited to 'games/qgo/files/patch-src__mainwindow_settings.cpp')
-rw-r--r-- | games/qgo/files/patch-src__mainwindow_settings.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/games/qgo/files/patch-src__mainwindow_settings.cpp b/games/qgo/files/patch-src__mainwindow_settings.cpp deleted file mode 100644 index 4d955d784579..000000000000 --- a/games/qgo/files/patch-src__mainwindow_settings.cpp +++ /dev/null @@ -1,17 +0,0 @@ ---- src/mainwindow_settings.cpp.orig -+++ src/mainwindow_settings.cpp -@@ -269,7 +269,13 @@ - QVariant var; - - ui.comboBox_language->setCurrentIndex (settings.value("LANGUAGE").toInt()); -- ui.LineEdit_computer->setText(settings.value("COMPUTER_PATH").toString()); -+ QString computer_path = settings.value("COMPUTER_PATH").toString(); -+ qDebug() << "COMPUTER_PATH" << computer_path; -+ if (computer_path == "") { -+ computer_path = "%%LOCALBASE%%/bin/gnugo"; -+ settings.setValue("COMPUTER_PATH", computer_path); -+ } -+ ui.LineEdit_computer->setText(computer_path); - if(settings.value("COMPUTER_PLAYS_WHITE").toBool()) - ui.computerPlaysWhite->setChecked(TRUE); - else |