Commit 8d51d365 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

fix warning, use right context object

parent e79cabce
Pipeline #167920 failed with stage
in 8 minutes and 3 seconds
......@@ -1238,7 +1238,7 @@ void KateMainWindow::queueModifiedOnDisc(KTextEditor::Document *doc)
s_modOnHdDialog = new KateMwModOnHdDialog(list, this);
m_modignore = true;
connect(s_modOnHdDialog, &KateMwModOnHdDialog::requestOpenDiffDocument, this, [this](const QUrl &url) {
connect(s_modOnHdDialog, &KateMwModOnHdDialog::requestOpenDiffDocument, KateApp::self(), [](const QUrl &url) {
// use open with isTempFile == true
KateApp::self()->openDocUrl(url, QString(), true);
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment