mirror of
https://github.com/linuxdeepin/gio-qt.git
synced 2024-12-26 15:06:08 +01:00
fix: DGioSettings::valueChanged never emit
改为DGioSettings后,设置壁纸无效,绑定valueChanged未触发,sender设置错误
This commit is contained in:
parent
a15ba2dc73
commit
495e311260
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ DGioSettings::DGioSettings(const QString& schemaId, const QString& path, QObject
|
||||||
path.toUtf8().constData());
|
path.toUtf8().constData());
|
||||||
|
|
||||||
g_object_get(d_private->settings, "settings-schema", &d_private->schema, nullptr);
|
g_object_get(d_private->settings, "settings-schema", &d_private->schema, nullptr);
|
||||||
d_private->signalHandlerId = g_signal_connect(d_private->settings, "changed", G_CALLBACK(DGioSettingsPrivate::onSettingChanged), d_ptr.data());
|
d_private->signalHandlerId = g_signal_connect(d_private->settings, "changed", G_CALLBACK(DGioSettingsPrivate::onSettingChanged), d_private.data());
|
||||||
}
|
}
|
||||||
|
|
||||||
DGioSettings::~DGioSettings()
|
DGioSettings::~DGioSettings()
|
||||||
|
|
Loading…
Reference in a new issue