Commit 1abdd541 authored by Tony Murray's avatar Tony Murray

Add the accepted syntax to the error message when the user types an address incorrectly.

svn path=/trunk/KDE/kdenetwork/krdc/; revision=1177181
parent 0a7b0b53
......@@ -304,7 +304,7 @@ void MainWindow::newConnection(const KUrl &newUrl, bool switchFullscreenWhenConn
if (!url.isValid() || (url.host().isEmpty() && url.port() < 0)
|| (!url.path().isEmpty() && url.path() != QLatin1String("/"))) {
KMessageBox::error(this,
i18n("The entered address does not have the required form."),
i18n("The entered address does not have the required form.\n Syntax: [username@]host[:port]"),
i18n("Malformed URL"));
return;
}
......
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