diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 67b438db6..a80c1e332 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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 diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 429af8d42..28ef9c752 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.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 );