mirror of
https://github.com/KDE/konsole.git
synced 2026-05-05 05:07:06 -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:
@@ -120,12 +120,10 @@ set(konsolepart_PART_SRCS
|
||||
IncrementalSearchBar.cpp
|
||||
KeyBindingEditor.cpp
|
||||
KeyboardTranslator.cpp
|
||||
MainWindow.cpp
|
||||
Part.cpp
|
||||
ProcessInfo.cpp
|
||||
Profile.cpp
|
||||
Pty.cpp
|
||||
RemoteConnectionDialog.cpp
|
||||
Screen.cpp
|
||||
ScreenWindow.cpp
|
||||
Session.cpp
|
||||
|
||||
@@ -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