mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
fix: 插件未增加gsettings配置项的话,默认为启用
除非明确增加了对应配置,并且对应的enable为false,才认为是禁用 Log: 修复部分插件加载后不在控制中心显示的问题 Influence: 三方插件可能安装后不在控制中心中显示 Task: https://pms.uniontech.com/zentao/task-view-95112.html Change-Id: I80a4492260d9b9488d57448549d527b9dd6fdb01
This commit is contained in:
parent
f5cf070f56
commit
3f073306d1
@ -202,7 +202,7 @@ void DBusDockAdaptors::setShowInPrimary(bool showInPrimary)
|
||||
bool DBusDockAdaptors::isPluginValid(const QString &name)
|
||||
{
|
||||
// 插件被全局禁用时,理应获取不到此插件的任何信息
|
||||
if (!Utils::SettingValue("com.deepin.dde.dock.module." + name, QByteArray(), "enable", false).toBool())
|
||||
if (!Utils::SettingValue("com.deepin.dde.dock.module." + name, QByteArray(), "enable", true).toBool())
|
||||
return false;
|
||||
|
||||
// 未开启窗口特效时,不显示多任务视图插件
|
||||
|
Loading…
x
Reference in New Issue
Block a user