diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-05-04 12:51:02 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-05-04 12:51:02 +0200 |
commit | 879d04c8c1aa5375a161da5cc0c8c7a4d64f8216 (patch) | |
tree | 1ba27ee74280a685bf3a2a4716223ba3135d16ff | |
parent | Added nl translation, via Eelko Berkenpies. Thanks.. (diff) | |
download | rekonq-879d04c8c1aa5375a161da5cc0c8c7a4d64f8216.tar.xz |
Hardcoded new tab shortcuts to
1. CTRL + T
2. CTRL + N
-rw-r--r-- | src/mainwindow.cpp | 5 |
1 files changed, 1 insertions, 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<QKeySequence> 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())); |