MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / programSettings

Method programSettings

gui/mainwindow.cpp:1328–1344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1326}
1327
1328void 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
1346void MainWindow::reAnalyzeModified()
1347{

Callers

nothing calls this directly

Calls 11

saveSettingValuesMethod · 0.80
showFullPathMethod · 0.80
saveFullPathMethod · 0.80
saveAllErrorsMethod · 0.80
showNoErrorsMessageMethod · 0.80
showErrorIdMethod · 0.80
showInconclusiveMethod · 0.80
updateStyleSettingMethod · 0.80
updateSettingsMethod · 0.45
toStringMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected