mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fix: 重启进入桌面,任务栏消失
多任务视图插件设置成不加载后,但当特效模式发生改变后仍会加载插件,对未初始化的野指针进行了调用,导致崩溃,应在特效模式发生改变后添加插件是否禁用判断, Log: 修复重启进入桌面,任务栏消失问题 Bug: https://pms.uniontech.com/zentao/bug-view-53982.html Change-Id: Ib320654dcb8cd72e3043dbc35df21c61a2352792
This commit is contained in:
parent
acc8de82dd
commit
7bf82976f9
@ -39,7 +39,7 @@ MultitaskingPlugin::MultitaskingPlugin(QObject *parent)
|
||||
m_tipsLabel->setObjectName("multitasking");
|
||||
|
||||
connect(DWindowManagerHelper::instance(), &DWindowManagerHelper::hasCompositeChanged, this, [ = ] {
|
||||
if (!m_proxyInter)
|
||||
if (!m_proxyInter || !m_pluginLoaded)
|
||||
return;
|
||||
|
||||
if (DWindowManagerHelper::instance()->hasComposite()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user