| 1326 | } |
| 1327 | |
| 1328 | void MainWindow::programSettings() |
| 1329 | { |
| 1330 | SettingsDialog dialog(mApplications, mTranslation, isCppcheckPremium(), this); |
| 1331 | if (dialog.exec() == QDialog::Accepted) { |
| 1332 | dialog.saveSettingValues(); |
| 1333 | mSettings->sync(); |
| 1334 | mUI->mResults->updateSettings(dialog.showFullPath(), |
| 1335 | dialog.saveFullPath(), |
| 1336 | dialog.saveAllErrors(), |
| 1337 | dialog.showNoErrorsMessage(), |
| 1338 | dialog.showErrorId(), |
| 1339 | dialog.showInconclusive()); |
| 1340 | mUI->mResults->updateStyleSetting(mSettings); |
| 1341 | const QString newLang = mSettings->value(SETTINGS_LANGUAGE, "en").toString(); |
| 1342 | setLanguage(newLang); |
| 1343 | } |
| 1344 | } |
| 1345 | |
| 1346 | void MainWindow::reAnalyzeModified() |
| 1347 | { |
nothing calls this directly
no test coverage detected