diff options
| author | Peter Penz <[email protected]> | 2008-06-29 13:36:53 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-06-29 13:36:53 +0000 |
| commit | cb32d720d1b6ab82709697b2e4b9cf1067c14151 (patch) | |
| tree | 579f644bc0abee249feb91449a11c6f2ec6e03d8 | |
| parent | 8677eafd24e2d40cc14a9e6dcb9069d183877df8 (diff) | |
provide Ctrl+T as alternative shortcut to Ctrl+Shift+N for "New Tab" like Konqueror
BUG: 165309
svn path=/trunk/KDE/kdebase/apps/; revision=825833
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 14c086339..46937fe1a 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -908,7 +908,7 @@ void DolphinMainWindow::setupActions() KAction* newTab = actionCollection()->addAction("new_tab"); newTab->setIcon(KIcon("tab-new")); newTab->setText(i18nc("@action:inmenu File", "New Tab")); - newTab->setShortcut(Qt::CTRL | Qt::SHIFT | Qt::Key_N); + newTab->setShortcut(KShortcut(Qt::CTRL | Qt::SHIFT | Qt::Key_N, Qt::CTRL | Qt::Key_T)); connect(newTab, SIGNAL(triggered()), this, SLOT(openNewTab())); QAction* closeTab = new QAction(KIcon("tab-close"), i18nc("@action:inmenu File", "Close Tab"), this); |
