┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaime Torres Amate <[email protected]>2018-10-06 09:59:10 +0200
committerJaime Torres Amate <[email protected]>2018-10-06 09:59:10 +0200
commit5d180c5bb280f68cb98996044055e6891e29bab7 (patch)
tree90dff789ed39ac1c06e64fcad0a282902789bc68 /src
parentddfc86ab8c207b81ec9ac83167d081b8d01c2750 (diff)
Don't assign twice the same key to the action New Tab
Second try: added Qt::CTRL + Qt::Key_T and Qt::CTRL + Qt::SHIFT + Qt::Key_N as QKeySequence::AddTab is only Qt::CTRL + Qt::SHIFT + Qt::Key_N under plasma.
Diffstat (limited to 'src')
-rw-r--r--src/dolphinmainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index a862ae803..3e3803d68 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -1079,7 +1079,7 @@ void DolphinMainWindow::setupActions()
QAction* newTab = actionCollection()->addAction(QStringLiteral("new_tab"));
newTab->setIcon(QIcon::fromTheme(QStringLiteral("tab-new")));
newTab->setText(i18nc("@action:inmenu File", "New Tab"));
- actionCollection()->setDefaultShortcuts(newTab, {QKeySequence::AddTab});
+ actionCollection()->setDefaultShortcuts(newTab, {Qt::CTRL + Qt::Key_T, Qt::CTRL + Qt::SHIFT + Qt::Key_N});
connect(newTab, &QAction::triggered, this, static_cast<void(DolphinMainWindow::*)()>(&DolphinMainWindow::openNewActivatedTab));
QAction* closeTab = KStandardAction::close(