4 Star 0 Fork 4

src-openEuler/kiran-qt5-integration

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0005-fix-style-add-ksl-os-gui-to-the-Style-whitelist.patch 1.32 KB
一键复制 编辑 原始数据 按行查看 历史
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/kiran-qt5-integration.git
git@gitee.com:src-openeuler/kiran-qt5-integration.git
src-openeuler
kiran-qt5-integration
kiran-qt5-integration
master

搜索帮助