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:
Kurt Hindenburg
2011-04-03 15:47:41 -04:00
parent a35e27e896
commit fd5c4f4443
6 changed files with 0 additions and 260 deletions

View File

@@ -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();