mirror of
https://github.com/KDE/konsole.git
synced 2026-05-05 05:07:06 -04:00
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:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user