From fe500a04da39de6cf6fa7524a204fbdddae14203 Mon Sep 17 00:00:00 2001 From: Mikhail Zolotukhin Date: Mon, 14 Feb 2022 16:03:09 +0300 Subject: [PATCH] chore: forcefully check for the shortcuts update --- src/core/qml-plugin.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/qml-plugin.cpp b/src/core/qml-plugin.cpp index b63fc737..c8bc7abd 100644 --- a/src/core/qml-plugin.cpp +++ b/src/core/qml-plugin.cpp @@ -3,6 +3,8 @@ #include "qml-plugin.hpp" +#include + #include #include #include @@ -31,6 +33,9 @@ Core::Core(QQuickItem *parent) , m_config() , m_plasmaApi() { + // Force check for the config changes + auto kcfg = KSharedConfig::openConfig("kglobalshortcutsrc"); + kcfg->checkUpdate(QStringLiteral("bismuth-shortcuts-category"), QStringLiteral("bismuth_shortcuts_category.upd")); } void Core::init()