代码拉取完成,页面将自动刷新
From ba894473941af81a2c23f623f6213f81e8264419 Mon Sep 17 00:00:00 2001
From: liuxinhao <liuxinhao@kylinsec.com.cn>
Date: Thu, 29 Jun 2023 17:44:42 +0800
Subject: [PATCH] fix(style): add ksl-os-gui to the Style whitelist
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 添加ksl-os-gui进入Kiran主题白名单
---
common/src/kiran-integration-settings.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/common/src/kiran-integration-settings.h b/common/src/kiran-integration-settings.h
index ff99929..5ed96b1 100644
--- a/common/src/kiran-integration-settings.h
+++ b/common/src/kiran-integration-settings.h
@@ -8,14 +8,14 @@ class KiranIntegrationSettings
public:
static KiranIntegrationSettings* instance();
~KiranIntegrationSettings();
-
+
QSet<QString> getKiranStyleApps();
static bool appKiranStyleAvailable(const QString& app);
private:
KiranIntegrationSettings();
void init();
-
+
private:
QSet<QString> m_kiranStyleApps = {
"kiran-control-panel",
@@ -26,6 +26,7 @@ private:
"kiran-power-status-icon",
"kiran-network-status-icon",
"kiran-audio-status-icon",
- "kiran-flameshot"
+ "kiran-flameshot",
+ "ksl-os-gui"
};
};
\ No newline at end of file
--
2.33.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。