mirror of
https://github.com/KDE/konsole.git
synced 2026-06-12 07:55:07 -04:00
Rearrange the 'File' menu
* Rename "Quit" to "Close Window" for accuracy * Move "Close Tab" downwards to be adjacent to "Close Window" REVIEW:103920
This commit is contained in:
@@ -274,10 +274,11 @@ void MainWindow::setupActions()
|
||||
action->setAutoRepeat(false);
|
||||
connect(action , SIGNAL(triggered()) , this , SLOT(newWindow()));
|
||||
|
||||
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
|
||||
action = collection->addAction("close-window");
|
||||
action->setIcon(KIcon("window-close"));
|
||||
action->setText(i18n("Close Window"));
|
||||
action->setShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_Q));
|
||||
connect(action , SIGNAL(triggered()) , this , SLOT(close()));
|
||||
|
||||
// Bookmark Menu
|
||||
KActionMenu* bookmarkMenu = new KActionMenu(i18n("&Bookmarks") , collection);
|
||||
|
||||
Reference in New Issue
Block a user