]> cloud.milkyroute.net Git - dolphin.git/commitdiff
provide Ctrl+T as alternative shortcut to Ctrl+Shift+N for "New Tab" like Konqueror
authorPeter Penz <peter.penz19@gmail.com>
Sun, 29 Jun 2008 13:36:53 +0000 (13:36 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Sun, 29 Jun 2008 13:36:53 +0000 (13:36 +0000)
BUG: 165309

svn path=/trunk/KDE/kdebase/apps/; revision=825833

src/dolphinmainwindow.cpp

index 14c086339576a2f4a24e1d4403762c2044073ba0..46937fe1a50f477997fd953b0efbb94e5b05e57a 100644 (file)
@@ -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);