--- a/src/mainwindow.cpp Wed Dec 26 16:38:38 2018 +0200 +++ b/src/mainwindow.cpp Wed Dec 26 23:01:45 2018 +0200 @@ -757,21 +757,6 @@ // --------------------------------------------------------------------------------------------------------------------- // -void MainWindow::saveShortcuts() -{ - applyToActions([&](QAction* action) - { - QString const key = "shortcut_" + action->objectName(); - - if (m_defaultShortcuts[action] != action->shortcut()) - settingsObject().setValue(key, action->shortcut()); - else - settingsObject().remove(key); - }); -} - -// --------------------------------------------------------------------------------------------------------------------- -// void MainWindow::applyToActions(function<void(QAction*)> function) { for (QAction* act : findChildren<QAction*>())