[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.2/kdebase/apps/konsole/src
From:       Kurt Hindenburg <kurt.hindenburg () gmail ! com>
Date:       2009-02-23 2:24:33
Message-ID: 1235355873.930688.23116.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 930321 by hindenburg:

Backport to allow ssh:// in bookmarks.

CCBUG: 173311


 M  +2 -0      SessionController.cpp  


--- branches/KDE/4.2/kdebase/apps/konsole/src/SessionController.cpp #930320:930321
@@ -244,6 +244,8 @@
     {
         _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() )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic