Commit f8691d95 authored by Volker Krause's avatar Volker Krause

Handle tel: URLs via KRun too

Summary:
KDE Connect can handle those by offering to start a call via your mobile
phone.

Reviewers: mlaurent

Reviewed By: mlaurent

Subscribers: kde-pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D18548
parent 02c3ad71
......@@ -913,7 +913,7 @@ bool KRunURLHandler::handleClick(const QUrl &url, ViewerPrivate *w) const
|| (scheme == QLatin1String("ftps")) || (scheme == QLatin1String("sftp"))
|| (scheme == QLatin1String("help")) || (scheme == QLatin1String("vnc"))
|| (scheme == QLatin1String("smb")) || (scheme == QLatin1String("fish"))
|| (scheme == QLatin1String("news"))) {
|| (scheme == QLatin1String("news")) || (scheme == QLatin1String("tel"))) {
KPIM::BroadcastStatus::instance()->setTransientStatusMsg(i18n("Opening URL..."));
QTimer::singleShot(2000, KPIM::BroadcastStatus::instance(), &KPIM::BroadcastStatus::reset);
......
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