diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/kauthorized.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/kauthorized.cpp b/src/core/kauthorized.cpp index fd79930e..ca98bffa 100644 --- a/src/core/kauthorized.cpp +++ b/src/core/kauthorized.cpp @@ -244,7 +244,7 @@ QStringList KAuthorized::authorizeControlModules(const QStringList &menuIds) return result; } -static void initUrlActionRestrictions() +KCONFIGCORE_EXPORT void reloadUrlActionRestrictions() { MY_D const QString Any; @@ -368,7 +368,7 @@ KCONFIGCORE_EXPORT bool authorizeUrlActionInternal(const QString &action, const bool result = false; if (d->urlActionRestrictions.isEmpty()) { - initUrlActionRestrictions(); + reloadUrlActionRestrictions(); } QUrl baseURL(_baseURL); |