Skip to content

Commit 2c0ab4e

Browse files
committed
fix: update appid of lastore daemon
Resolve the issue of not being able to read dconfig correctly pms: TASK-377199
1 parent 9a3e766 commit 2c0ab4e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

plugins/dde-dock/shutdown/shutdownplugin.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ShutdownPlugin::ShutdownPlugin(QObject *parent)
4545
, m_tipsLabel(new TipsWidget)
4646
, m_powerManagerInter(new DBusPowerManager("org.deepin.dde.PowerManager1", "/org/deepin/dde/PowerManager1", QDBusConnection::systemBus(), this))
4747
, m_dconfig(DConfig::create("org.deepin.dde.tray-loader", "org.deepin.dde.dock.plugin.shutdown", QString(), this))
48-
, m_lastoreDConfig(DConfig::create("org.deepin.lastore", "org.deepin.lastore", "", this))
48+
, m_lastoreDConfig(DConfig::create("org.deepin.dde.lastore", "org.deepin.dde.lastore", "", this))
4949
{
5050
m_tipsLabel->setVisible(false);
5151
m_tipsLabel->setAccessibleName("shutdown");
@@ -140,7 +140,7 @@ const QString ShutdownPlugin::itemContextMenu(const QString &itemKey)
140140
QList<QVariant> items;
141141
items.reserve(6);
142142

143-
#if 0 // v25逻辑已变,还未确定,暂时注释掉
143+
144144
// 从配置文件中读取安装状态,第一位表示安装状态,1: 安装已就绪,0:安装未就绪
145145
if (m_lastoreDConfig && m_lastoreDConfig->isValid()) {
146146
bool ok;
@@ -163,7 +163,7 @@ const QString ShutdownPlugin::itemContextMenu(const QString &itemKey)
163163
}
164164
}
165165
}
166-
#endif
166+
167167

168168
QMap<QString, QVariant> shutdown;
169169
if (contextMenu.contains(MENU_SHUTDOWN)) {

0 commit comments

Comments
 (0)