Fix warning about shortcut

wilder-work
Laurent Montel 8 years ago
parent 58e515c138
commit 10ab845b8c
  1. 2
      src/foldershortcutactionmanager.cpp

@ -140,7 +140,7 @@ void FolderShortcutActionManager::shortcutChanged(const Akonadi::Collection &col
// the folder settings correctly.
mActionCollection->setShortcutsConfigurable(action, false);
action->setText(actionLabel);
action->setShortcut(shortcut);
mActionCollection->setDefaultShortcut(action, shortcut);
action->setIcon(icon);
connect(action, &QAction::triggered, command, &FolderShortcutCommand::start);

Loading…
Cancel
Save