fix: 配置文件命名错误

配置名命名错误修正

Log: 修正错误的配置文件名
Change-Id: I8f99403bc601535c919615f719ff24a8ec5cdc5e
Reviewed-on: http://gerrit.uniontech.com/c/dde-dock/+/5396
Reviewed-by: wangwei <wangwei@uniontech.com>
Reviewed-by: fanpengcheng <fanpengcheng@uniontech.com>
Tested-by: fanpengcheng <fanpengcheng@uniontech.com>
This commit is contained in:
liuxing 2020-09-18 10:08:06 +08:00
parent 45e631fdc9
commit ff96316835
2 changed files with 3 additions and 3 deletions

View File

@ -922,8 +922,8 @@ void MultiScreenWorker::initMembers()
void MultiScreenWorker::initGSettingConfig()
{
if (QGSettings::isSchemaInstalled("com.deepin.dde.dock.mainwidow")) {
m_monitorSetting = new QGSettings("com.deepin.dde.dock.mainwidow", "/com/deepin/dde/dock/mainwidow/", this);
if (QGSettings::isSchemaInstalled("com.deepin.dde.dock.mainwindow")) {
m_monitorSetting = new QGSettings("com.deepin.dde.dock.mainwindow", "/com/deepin/dde/dock/mainwindow/", this);
if (m_monitorSetting->keys().contains(MonitorsSwitchTime)) {
m_delayTimer->setInterval(m_monitorSetting->get(MonitorsSwitchTime).toInt());
} else {

View File

@ -291,7 +291,7 @@
</description>
</key>
</schema>
<schema path="/com/deepin/dde/dock/mainwidow/" id="com.deepin.dde.dock.mainwidow" gettext-domain="DDE">
<schema path="/com/deepin/dde/dock/mainwindow/" id="com.deepin.dde.dock.mainwindow" gettext-domain="DDE">
<key type="u" name="monitors-switch-time">
<default>2000</default>
<summary>Unit: ms</summary>