mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
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:
parent
45e631fdc9
commit
ff96316835
@ -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 {
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user