| 34 | } |
| 35 | |
| 36 | void SettingsForm::SetDebugLoggingEnabled(bool enabled) { |
| 37 | if(enabled) { |
| 38 | if(!Shell::CreateFile(AppSettings::GetBaseDir() / "LOG_DEBUG")) |
| 39 | spdlog::error("Failed to create debug log file."); |
| 40 | } else { |
| 41 | if(!Shell::RemoveFile(AppSettings::GetBaseDir() / "LOG_DEBUG")) |
| 42 | spdlog::error("Failed to remove debug log file."); |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | QString SettingsForm::GetOperatingSystem() { |
| 47 | return QString::fromUtf8(AppInfo::GetOperatingSystem()); |
nothing calls this directly
no outgoing calls
no test coverage detected