1 Star 0 Fork 22

hanshuang/dde-file-manager

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-hide-authorized-watermask.patch 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
Venland 提交于 2023-04-04 15:05 . update: update to 5.2.63
From 03eba42faf61623cc10daf4c3b8da86ee097880c Mon Sep 17 00:00:00 2001
From: leeffo <leeffo@yeah.net>
Date: Tue, 23 Aug 2022 13:55:54 +0800
Subject: [PATCH] hide authorized watermask
---
src/dde-desktop/view/watermaskframe.cpp | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/dde-desktop/view/watermaskframe.cpp b/src/dde-desktop/view/watermaskframe.cpp
index b4d1e8b..cfce261 100644
--- a/src/dde-desktop/view/watermaskframe.cpp
+++ b/src/dde-desktop/view/watermaskframe.cpp
@@ -336,9 +336,10 @@ bool WaterMaskFrame::isNeedState()
{
DSysInfo::DeepinType deepinType = DSysInfo::deepinType();
qInfo() << "deepinType" << deepinType;
- return (DSysInfo::DeepinType::DeepinProfessional == deepinType
- || DSysInfo::DeepinType::DeepinPersonal == deepinType
- || DSysInfo::DeepinType::DeepinServer == deepinType );
+ //return (DSysInfo::DeepinType::DeepinProfessional == deepinType
+ // || DSysInfo::DeepinType::DeepinPersonal == deepinType
+ // || DSysInfo::DeepinType::DeepinServer == deepinType );
+ return 0;
}
bool WaterMaskFrame::parseJson(QString key)
--
2.20.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hanshuang123456/dde-file-manager.git
git@gitee.com:hanshuang123456/dde-file-manager.git
hanshuang123456
dde-file-manager
dde-file-manager
master

搜索帮助