Commit a18421ec authored by Kurt Hindenburg's avatar Kurt Hindenburg

Change the dialog to clarify about invalid's bookmarks.

CCMAIL: robert.knight@gmail.com

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1046973
parent 6b7789e0
......@@ -274,11 +274,9 @@ void SessionController::openUrl( const KUrl& url )
{
//TODO Implement handling for other Url types
QString detailedMessage = i18n("This bookmark is using an Url that is not understood.");
QString detailedInfo = url.prettyUrl();
if (!(url.protocol()).isEmpty())
detailedInfo.append(QString(i18n("\n\nProtocol: ")) + url.protocol());
KMessageBox::detailedSorry(_view->window(), detailedMessage, detailedInfo);
KMessageBox::sorry(_view->window(),
i18n("Konsole does not know how to open the bookmark: ") +
url.prettyUrl());
kWarning(1211) << "Unable to open bookmark at url" << url << ", I do not know"
<< " how to handle the protocol " << url.protocol();
......
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