Commit 09a4dcdf authored by Kurt Hindenburg's avatar Kurt Hindenburg

Allow ssh port to work in bookmarks.

BUG: 173311

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=929785
parent 7930b193
......@@ -244,6 +244,8 @@ void SessionController::openUrl( const KUrl& url )
{
_session->emulation()->sendText("ssh ");
if ( url.port() > -1 )
_session->emulation()->sendText("-p " + QString::number(url.port()) + ' ' );
if ( url.hasUser() )
_session->emulation()->sendText(url.user() + '@');
if ( url.hasHost() )
......
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