Unverified Commit d55483bb authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Add message box in case an URL open is prohibited

When an URL is blocked we now show a messagebox
so that the user is not invited to think that
something is broken as it is intentional prohibited.

GnuPG-Bug-Id: T5777
parent c28b55aa
Pipeline #134299 passed with stage
in 1 minute and 54 seconds
......@@ -693,4 +693,6 @@ bool KleopatraApplication::ignoreNewInstance() const
void KleopatraApplication::blockUrl(const QUrl &url)
qCDebug(KLEOPATRA_LOG) << "Blocking URL" << url;
KMessageBox::sorry(mainWindow(),i18n ("Opening an external link is administratively prohibited."),
i18n ("Prohibited"));
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