mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
fix: dock crash by shutdown plugin config file
Change-Id: Icd3585482d743876aef27f7c1755b1bbfb05490a
This commit is contained in:
parent
a518b93fa0
commit
e7677b6f91
Notes:
gerrit
2018-11-02 18:07:17 +08:00
Verified+1: <jenkins@deepin.com> Code-Review+2: listenerri <listenerri@gmail.com> Submitted-by: listenerri <listenerri@gmail.com> Submitted-at: Fri, 02 Nov 2018 18:07:17 +0800 Reviewed-on: https://cr.deepin.io/39440 Project: dde/dde-dock Branch: refs/heads/master
@ -180,7 +180,9 @@ void ShutdownPlugin::displayModeChanged(const Dock::DisplayMode displayMode)
|
||||
{
|
||||
Q_UNUSED(displayMode);
|
||||
|
||||
m_shutdownWidget->update();
|
||||
if (!pluginIsDisable()) {
|
||||
m_shutdownWidget->update();
|
||||
}
|
||||
}
|
||||
|
||||
int ShutdownPlugin::itemSortKey(const QString &itemKey)
|
||||
|
Loading…
x
Reference in New Issue
Block a user