mirror of
https://github.com/KDE/konsole.git
synced 2026-05-19 03:57:43 -04:00
Remove unused ShowRemoteDialog
The dialog code was commented out in 2008 as part of https://projects.kde.org/projects/kde/kdebase/konsole/repository/ revisions/5036d8cb00414593631bc611191c9ed95668dcc6
This commit is contained in:
@@ -49,7 +49,6 @@
|
||||
// Konsole
|
||||
#include "BookmarkHandler.h"
|
||||
#include "IncrementalSearchBar.h"
|
||||
#include "RemoteConnectionDialog.h"
|
||||
#include "SessionController.h"
|
||||
#include "ProfileList.h"
|
||||
#include "ManageProfilesDialog.h"
|
||||
@@ -253,12 +252,6 @@ void MainWindow::setupActions()
|
||||
action->setAutoRepeat( false );
|
||||
connect( action , SIGNAL(triggered()) , this , SLOT(newWindow()) );
|
||||
|
||||
action = collection->addAction("remote-connection");
|
||||
action->setText( i18n("Remote Connection...") );
|
||||
action->setIcon( KIcon("network-connect") );
|
||||
action->setShortcut( QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_R) );
|
||||
connect( action , SIGNAL(triggered()) , this , SLOT(showRemoteConnectionDialog()) );
|
||||
|
||||
action = KStandardAction::quit( this , SLOT(close()) , collection );
|
||||
// the default shortcut for quit is typically Ctrl+[Some Letter, usually Q] but that is reserved for
|
||||
// use by terminal applications
|
||||
@@ -500,13 +493,6 @@ void MainWindow::showManageProfilesDialog()
|
||||
dialog->show();
|
||||
}
|
||||
|
||||
void MainWindow::showRemoteConnectionDialog()
|
||||
{
|
||||
// RemoteConnectionDialog dialog(this);
|
||||
// if ( dialog.exec() == QDialog::Accepted )
|
||||
// emit newSessionRequest(dialog.sessionKey(),QString(),_viewManager);
|
||||
}
|
||||
|
||||
void MainWindow::activateMenuBar()
|
||||
{
|
||||
const QList<QAction*> menuActions = menuBar()->actions();
|
||||
|
||||
Reference in New Issue
Block a user