| 426 | } |
| 427 | |
| 428 | void OptionsView::download(const std::shared_ptr<FileSystemZip>& version) { |
| 429 | GlobalSettings::downloadFileSystem(version, [this](bool success) { |
| 430 | if (success) { |
| 431 | runOnMainUI([this]()->bool { |
| 432 | GlobalSettings::reloadWineVersions(); |
| 433 | this->loadFileSystemVersions(); |
| 434 | return false; |
| 435 | }); |
| 436 | } |
| 437 | }); |
| 438 | } |
| 439 | |
| 440 | bool OptionsView::saveChanges() { |
| 441 | this->errorMsg = B(""); |
nothing calls this directly
no test coverage detected