Commit 0a6c40bb authored by Harald Sitter's avatar Harald Sitter 🌹
Browse files

port away from deprecated runUrl without flags to explicitly set RunFlags

the way we called the old function is equal to no flags being set.

not bumping dependency as 5.31 also increased Qt requirement to 5.6,
we don't really need either besides this one deprecation.

Reviewers: sandsmark

Subscribers: kde-utils-devel

Differential Revision:
parent 7a32ec61
......@@ -36,6 +36,7 @@
#include <KFormat>
#include <QUrl>
#include <KLocalizedString>
#include <kio_version.h>
#include <QApplication> //QApplication::setOverrideCursor()
#include <QClipboard>
......@@ -287,7 +288,11 @@ void RadialMap::Widget::mousePressEvent(QMouseEvent *e)
QAction* clicked = popup.exec(e->globalPos(), nullptr);
if (openFileManager && clicked == openFileManager) {
KRun::runUrl(url, QLatin1String( "inode/directory" ), this);
KRun::runUrl(url, QLatin1String("inode/directory"), this
, KRun::RunFlags()
} else if (openTerminal && clicked == openTerminal) {
} else if (centerMap && clicked == centerMap) {
Markdown is supported
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