mirror of
https://github.com/linuxdeepin/gio-qt.git
synced 2024-11-10 12:03:46 +01:00
fix: DGioSettings::valueChanged never emit
改为DGioSettings后,设置壁纸无效,绑定valueChanged未触发,sender设置错误
This commit is contained in:
parent
a15ba2dc73
commit
495e311260
@ -262,7 +262,7 @@ DGioSettings::DGioSettings(const QString& schemaId, const QString& path, QObject
|
||||
path.toUtf8().constData());
|
||||
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user