fix: 修复任务栏点击时间设置崩溃的问题

path和interface参数和顺序错误引起崩溃

Log: 修复任务栏时间设置崩溃的问题
Influence: 任务栏右键时间区域,打开时间设置,观察是否正常打开控制中心的时间设置
Bug: https://pms.uniontech.com/bug-view-171511.html
Change-Id: If91629dcb45c2663d2bcf9a29adffcbf6ac20043
This commit is contained in:
donghualin 2022-11-16 06:42:46 +00:00
parent 9aa23d8960
commit ea75c2e00d

View File

@ -356,8 +356,8 @@ void DateTimeDisplayer::createMenuItem()
connect(timeSettingAction, &QAction::triggered, this, [ = ] {
DDBusSender()
.service(controllCenterService)
.interface(controllCenterPath)
.path(controllCenterInterface)
.path(controllCenterPath)
.interface(controllCenterInterface)
.method(QString("ShowPage"))
.arg(QString("datetime"))
.call();