| 246 | } |
| 247 | |
| 248 | void ProjectManagerView::toggleSyncCurrentDocument(bool sync) |
| 249 | { |
| 250 | KConfigGroup pmviewConfig(ICore::self()->activeSession()->config(), sessionConfigGroup()); |
| 251 | pmviewConfig.writeEntry<bool>(syncCurrentDocumentKey, sync); |
| 252 | if (sync) { |
| 253 | raiseAndLocateCurrentDocument(); |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | void ProjectManagerView::raiseAndLocateCurrentDocument() |
| 258 | { |
nothing calls this directly
no test coverage detected