mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-21 09:20:13 +00:00
fix default tab prev/next shortcuts
take into accound the whole list, not just the first shortcut
This commit is contained in:
parent
037d5db85b
commit
a069d24d4b
|
@ -1118,12 +1118,10 @@ void DolphinMainWindow::setupActions()
|
|||
KStandardAction::preferences(this, SLOT(editSettings()), actionCollection());
|
||||
|
||||
// not in menu actions
|
||||
QList<QKeySequence> nextTabKeys;
|
||||
nextTabKeys.append(KStandardShortcut::tabNext().first()); //TODO: is this correct
|
||||
QList<QKeySequence> nextTabKeys = KStandardShortcut::tabNext();
|
||||
nextTabKeys.append(QKeySequence(Qt::CTRL | Qt::Key_Tab));
|
||||
|
||||
QList<QKeySequence> prevTabKeys;
|
||||
prevTabKeys.append(KStandardShortcut::tabPrev().first()); //TODO: is this correct
|
||||
QList<QKeySequence> prevTabKeys = KStandardShortcut::tabPrev();
|
||||
prevTabKeys.append(QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_Tab));
|
||||
|
||||
QAction* activateNextTab = actionCollection()->addAction("activate_next_tab");
|
||||
|
|
|
@ -76,6 +76,4 @@ void ConfigurePreviewPluginDialog::slotOk()
|
|||
QApplication::changeOverrideCursor(Qt::BusyCursor);
|
||||
KIO::NetAccess::del(QUrl::fromLocalFile(QDir::homePath() + "/.thumbnails/"), this);
|
||||
QApplication::restoreOverrideCursor();
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue