Allow 'Open Folder in Tabs' to support SSH bookmarks.

Thanks to Will Angenent for patch.

BUG: 177637

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1033653
This commit is contained in:
Kurt Hindenburg
2009-10-10 17:35:15 +00:00
parent e6f2f19a70
commit b2a291b01f
4 changed files with 42 additions and 1 deletions

View File

@@ -333,11 +333,13 @@ QString MainWindow::activeSessionDir() const
void MainWindow::openUrls(const QList<KUrl>& urls)
{
// TODO Implement support for SSH bookmarks here
foreach( const KUrl& url , urls )
{
if ( url.isLocalFile() )
emit newSessionRequest( _defaultProfile , url.path() , _viewManager );
else if ( url.protocol() == "ssh" )
emit newSSHSessionRequest( _defaultProfile , url , _viewManager );
}
}