mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-05 16:19:10 +00:00
Set show preview shortcut to F12
To be consistent with kio open/save dialogs. BUG: 172967
This commit is contained in:
parent
cf97db70d4
commit
86c59879ec
|
@ -249,6 +249,7 @@ void DolphinViewActionHandler::createActions(SelectionMode::ActionTextHelper *ac
|
|||
"contents.<nl/>For example the icons of images become scaled "
|
||||
"down versions of the images."));
|
||||
showPreview->setIcon(QIcon::fromTheme(QStringLiteral("view-preview")));
|
||||
m_actionCollection->setDefaultShortcut(showPreview, QKeySequence(Qt::Key_F12));
|
||||
connect(showPreview, &KToggleAction::triggered, this, &DolphinViewActionHandler::togglePreview);
|
||||
|
||||
KToggleAction *sortFoldersFirst = m_actionCollection->add<KToggleAction>(QStringLiteral("folders_first"));
|
||||
|
|
Loading…
Reference in a new issue