diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ # minimal requirements cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR) set (QT_MIN_VERSION "5.4.0") -set(KF5_DEP_VERSION "5.13.0") # we need KMultiTabBar::appendButton(const QIcon &..., ...) +set(KF5_DEP_VERSION "5.40.0") # KDE Application Version, managed by release script set (KDE_APPLICATIONS_VERSION_MAJOR "18") diff --git a/kate/katemwmodonhddialog.cpp b/kate/katemwmodonhddialog.cpp --- a/kate/katemwmodonhddialog.cpp +++ b/kate/katemwmodonhddialog.cpp @@ -328,7 +328,7 @@ m_diffFile = nullptr; // KRun::runUrl should delete the file, once the client exits - KRun::runUrl(url, QStringLiteral("text/x-patch"), this, true); + KRun::runUrl(url, QStringLiteral("text/x-patch"), this, KRun::RunFlags(KRun::DeleteTemporaryFiles)); } void KateMwModOnHdDialog::addDocument(KTextEditor::Document *doc)