| 1242 | } |
| 1243 | |
| 1244 | void MainWindow::slotGamePathChanged() |
| 1245 | { |
| 1246 | /* Save the previous config */ |
| 1247 | context->config.save(context->gamepath); |
| 1248 | |
| 1249 | context->gamepath = gamePath->currentText().toStdString(); |
| 1250 | |
| 1251 | if (!updateGamePathAvailability()) { |
| 1252 | return; |
| 1253 | } |
| 1254 | |
| 1255 | applyGamePathConfig(); |
| 1256 | } |
| 1257 | |
| 1258 | void MainWindow::reloadConfiguredWindows() |
| 1259 | { |