From 879d04c8c1aa5375a161da5cc0c8c7a4d64f8216 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 4 May 2009 12:51:02 +0200 Subject: Hardcoded new tab shortcuts to 1. CTRL + T 2. CTRL + N --- src/mainwindow.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 1ab59e2d..63de9853 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -284,10 +284,7 @@ void MainWindow::setupActions() // =================== Tab Actions a = new KAction(KIcon("tab-new"), i18n("New &Tab"), this); - QList newTabShortcutList; - newTabShortcutList << QKeySequence(QKeySequence::New); - newTabShortcutList << QKeySequence(QKeySequence::AddTab); - a->setShortcut(KShortcut(newTabShortcutList)); + a->setShortcut(KShortcut(Qt::CTRL + Qt::Key_T, Qt::CTRL + Qt::Key_N)); actionCollection()->addAction(QLatin1String("new_tab"), a); connect(a, SIGNAL(triggered(bool)), m_view, SLOT(newWebView())); -- cgit v1.2.1