| 68 | } |
| 69 | |
| 70 | void ProjectConfigPage::apply() |
| 71 | { |
| 72 | auto config = configSkeleton()->sharedConfig()->group(Strings::SourceFormatter()); |
| 73 | ui->formatterSelectionEdit->saveSettings(config); |
| 74 | |
| 75 | ConfigPage::apply(); |
| 76 | |
| 77 | // TODO: fix exception of accessing internal API, find a better way to notify about settings change |
| 78 | KDevelop::Core::self()->sourceFormatterControllerInternal()->settingsChanged(); |
| 79 | } |
| 80 | |
| 81 | } |
| 82 |
nothing calls this directly
no test coverage detected