Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

Commit

Permalink
chore: forcefully check for the shortcuts update
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Zolotukhin committed Feb 14, 2022
1 parent 0f27b11 commit fe500a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/qml-plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

#include "qml-plugin.hpp"

#include <KSharedConfig>

#include <QJSValue>
#include <QString>
#include <QtQml>
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit fe500a0

Please sign in to comment.