Commit 2fd3f807 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

fixes reload dialog on wayland

avoid that after initial triggering this repaint and
more of main window is destroyed

BUG: 440583
parent 002c1320
Pipeline #90964 passed with stage
in 3 minutes and 7 seconds
......@@ -52,7 +52,6 @@
#include <KToggleFullScreenAction>
#include <KToolBar>
#include <KWindowConfig>
#include <KWindowSystem>
#include <KXMLGUIFactory>
#include <QApplication>
......@@ -1170,7 +1169,6 @@ void KateMainWindow::queueModifiedOnDisc(KTextEditor::Document *doc)
s_modOnHdDialog = new KateMwModOnHdDialog(list, this);
m_modignore = true;
KWindowSystem::setOnAllDesktops(s_modOnHdDialog->winId(), true);
connect(s_modOnHdDialog, &KateMwModOnHdDialog::requestOpenDiffDocument, this, [this](const QUrl &url) {
viewManager()->openUrl(url, QString(), true, 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