From: Peter Penz Date: Sun, 29 Jun 2008 13:36:53 +0000 (+0000) Subject: provide Ctrl+T as alternative shortcut to Ctrl+Shift+N for "New Tab" like Konqueror X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/cb32d720d1b6ab82709697b2e4b9cf1067c14151?ds=sidebyside 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 --- 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);