mirror of
https://github.com/KDE/konsole.git
synced 2026-05-05 13:14:22 -04:00
Remove classes from the KPart build which are not used by the part. Remove an #ifndef KONSOLE_PART test from the MainWindow class which is not compiled into the part.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=757280
This commit is contained in:
@@ -198,13 +198,10 @@ void MainWindow::setupActions()
|
||||
remoteConnectionAction->setShortcut( QKeySequence(Qt::CTRL+Qt::SHIFT+Qt::Key_R) );
|
||||
connect( remoteConnectionAction , SIGNAL(triggered()) , this , SLOT(showRemoteConnectionDialog()) );
|
||||
|
||||
|
||||
#ifndef KONSOLE_PART
|
||||
KAction* quitAction = 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
|
||||
quitAction->setShortcut(Qt::CTRL+Qt::SHIFT+Qt::Key_Q);
|
||||
#endif
|
||||
|
||||
// Bookmark Menu
|
||||
KActionMenu* bookmarkMenu = new KActionMenu(i18n("&Bookmarks") , collection );
|
||||
|
||||
Reference in New Issue
Block a user