mirror of
https://github.com/KDE/konsole.git
synced 2026-06-18 18:58:58 -04:00
Allow ssh port to work in bookmarks.
BUG: 173311 svn path=/trunk/KDE/kdebase/apps/konsole/; revision=929785
This commit is contained in:
@@ -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() )
|
||||
|
||||
Reference in New Issue
Block a user