diff --git a/src/app/puzzle/vpmainwindow.cpp b/src/app/puzzle/vpmainwindow.cpp index 29e78b13e..eeb052907 100644 --- a/src/app/puzzle/vpmainwindow.cpp +++ b/src/app/puzzle/vpmainwindow.cpp @@ -435,7 +435,7 @@ VPMainWindow::VPMainWindow(const VPCommandLinePtr &cmd, QWidget *parent) if (VAbstractShortcutManager *manager = VAbstractApplication::VApp()->GetShortcutManager()) { - connect(manager, &VAbstractShortcutManager::shortcutsUpdated, this, &VPMainWindow::UpdateShortcuts); + connect(manager, &VAbstractShortcutManager::ShortcutsUpdated, this, &VPMainWindow::UpdateShortcuts); UpdateShortcuts(); } } diff --git a/src/app/tape/tmainwindow.cpp b/src/app/tape/tmainwindow.cpp index db9d30d1b..582c46792 100644 --- a/src/app/tape/tmainwindow.cpp +++ b/src/app/tape/tmainwindow.cpp @@ -327,7 +327,7 @@ TMainWindow::TMainWindow(QWidget *parent) if (VAbstractShortcutManager *manager = VAbstractApplication::VApp()->GetShortcutManager()) { - connect(manager, &VAbstractShortcutManager::shortcutsUpdated, this, &TMainWindow::UpdateShortcuts); + connect(manager, &VAbstractShortcutManager::ShortcutsUpdated, this, &TMainWindow::UpdateShortcuts); UpdateShortcuts(); } } diff --git a/src/app/valentina/dialogs/dialogfinalmeasurements.cpp b/src/app/valentina/dialogs/dialogfinalmeasurements.cpp index efbfd3523..85387a2e3 100644 --- a/src/app/valentina/dialogs/dialogfinalmeasurements.cpp +++ b/src/app/valentina/dialogs/dialogfinalmeasurements.cpp @@ -115,7 +115,7 @@ DialogFinalMeasurements::DialogFinalMeasurements(VPattern *doc, QWidget *parent) if (VAbstractShortcutManager *manager = VAbstractApplication::VApp()->GetShortcutManager()) { - connect(VAbstractValApplication::VApp()->GetShortcutManager(), &VAbstractShortcutManager::shortcutsUpdated, + connect(VAbstractValApplication::VApp()->GetShortcutManager(), &VAbstractShortcutManager::ShortcutsUpdated, this, &DialogFinalMeasurements::UpdateShortcuts); UpdateShortcuts(); } diff --git a/src/app/valentina/dialogs/dialoghistory.cpp b/src/app/valentina/dialogs/dialoghistory.cpp index f591b76c8..d52fa7320 100644 --- a/src/app/valentina/dialogs/dialoghistory.cpp +++ b/src/app/valentina/dialogs/dialoghistory.cpp @@ -99,7 +99,7 @@ DialogHistory::DialogHistory(VContainer *data, VPattern *doc, QWidget *parent) if (VAbstractShortcutManager *manager = VAbstractApplication::VApp()->GetShortcutManager()) { - connect(VAbstractValApplication::VApp()->GetShortcutManager(), &VAbstractShortcutManager::shortcutsUpdated, + connect(VAbstractValApplication::VApp()->GetShortcutManager(), &VAbstractShortcutManager::ShortcutsUpdated, this, &DialogHistory::UpdateShortcuts); UpdateShortcuts(); } diff --git a/src/app/valentina/dialogs/dialogincrements.cpp b/src/app/valentina/dialogs/dialogincrements.cpp index a6ee891ba..8379d6196 100644 --- a/src/app/valentina/dialogs/dialogincrements.cpp +++ b/src/app/valentina/dialogs/dialogincrements.cpp @@ -204,7 +204,7 @@ DialogIncrements::DialogIncrements(VContainer *data, VPattern *doc, QWidget *par if (VAbstractShortcutManager *manager = VAbstractApplication::VApp()->GetShortcutManager()) { - connect(VAbstractValApplication::VApp()->GetShortcutManager(), &VAbstractShortcutManager::shortcutsUpdated, + connect(VAbstractValApplication::VApp()->GetShortcutManager(), &VAbstractShortcutManager::ShortcutsUpdated, this, &DialogIncrements::UpdateShortcuts); UpdateShortcuts(); } diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index 76e53e6e6..17720c8c3 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -538,7 +538,7 @@ MainWindow::MainWindow(QWidget *parent) if (VAbstractShortcutManager *manager = VAbstractValApplication::VApp()->GetShortcutManager()) { - connect(manager, &VAbstractShortcutManager::shortcutsUpdated, this, &MainWindow::UpdateShortcuts); + connect(manager, &VAbstractShortcutManager::ShortcutsUpdated, this, &MainWindow::UpdateShortcuts); UpdateShortcuts(); } } diff --git a/src/libs/vmisc/vabstractshortcutmanager.cpp b/src/libs/vmisc/vabstractshortcutmanager.cpp index 2c17f1179..468f0d29a 100644 --- a/src/libs/vmisc/vabstractshortcutmanager.cpp +++ b/src/libs/vmisc/vabstractshortcutmanager.cpp @@ -57,7 +57,7 @@ void VAbstractShortcutManager::UpdateShortcuts() settings->GetActionShortcuts(ShortcutActionToString(shortcut.type), shortcut.defaultShortcuts); } - emit shortcutsUpdated(); + emit ShortcutsUpdated(); } //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/libs/vmisc/vabstractshortcutmanager.h b/src/libs/vmisc/vabstractshortcutmanager.h index 587a210ef..545709734 100644 --- a/src/libs/vmisc/vabstractshortcutmanager.h +++ b/src/libs/vmisc/vabstractshortcutmanager.h @@ -123,7 +123,7 @@ public: static auto StringListToKeySequenceList(const QStringList &stringList) -> QList; signals: - void shortcutsUpdated(); + void ShortcutsUpdated(); protected: void AddShortcut(const VSShortcut &shortcut);