Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit e8023457 authored by Laurent Montel's avatar Laurent Montel 😁

Port to not deprecated method

parent 990b95f6
......@@ -239,7 +239,8 @@ void FrameManager::openInExternalBrowser(const OpenUrlRequest &request)
if (request.args().mimeType().isEmpty()) {
QDesktopServices::openUrl(url);
} else {
KRun::runUrl(url, request.args().mimeType(), 0 /*window*/, false, false);
KRun::RunFlags flag = 0;
KRun::runUrl(url, request.args().mimeType(), nullptr /*window*/, flag);
}
}
......
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