| 251 | } |
| 252 | |
| 253 | void VcsPluginHelper::delayedModificationWarningOn() |
| 254 | { |
| 255 | QObject* timer = sender(); |
| 256 | const QList<QUrl> urls = timer->property("urls").value<QList<QUrl>>(); |
| 257 | |
| 258 | for (const QUrl& url : urls) { |
| 259 | IDocument* doc=ICore::self()->documentController()->documentForUrl(url); |
| 260 | |
| 261 | if(doc) { |
| 262 | doc->reload(); |
| 263 | doc->textDocument()->setModifiedOnDiskWarning(true); |
| 264 | } |
| 265 | } |
| 266 | } |
| 267 | |
| 268 | |
| 269 | void VcsPluginHelper::diffJobFinished(KJob* job) |
nothing calls this directly
no test coverage detected