Revert upstream's decision to rename the DBus namespace.
Forwarded: https://gitlab.com/ubports/core/gsettings-qt/issues/1 Gbp-Pq: Name 2001_keep-com.canonical-DBus-namespace.patch
This commit is contained in:
parent
7c9f91afbf
commit
885a14e5af
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schemalist>
|
||||
<schema id="com.ubports.gsettings.Test" path="/com/ubports/gsettings/test/">
|
||||
<schema id="com.canonical.gsettings.Test" path="/com/canonical/gsettings/test/">
|
||||
<key name="test-integer" type="i">
|
||||
<default>42</default>
|
||||
</key>
|
|
@ -15,7 +15,7 @@ private:
|
|||
|
||||
void TestDeferredDelete::initTestCase()
|
||||
{
|
||||
settings = new QGSettings("com.ubports.gsettings.Test", QByteArray(), this);
|
||||
settings = new QGSettings("com.canonical.gsettings.Test", QByteArray(), this);
|
||||
dummy = new QObject;
|
||||
connect(settings, &QGSettings::changed, dummy.data(), &QObject::deleteLater); // delete the dummy object upon any gsettings change
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ LIBS += -L$$(PWD)/../src -lgsettings-qt
|
|||
|
||||
schema.target = gschemas.compiled
|
||||
schema.commands = glib-compile-schemas $$PWD
|
||||
schema.depends = com.ubports.gsettings.test.gschema.xml
|
||||
schema.depends = com.canonical.gsettings.test.gschema.xml
|
||||
QMAKE_EXTRA_TARGETS += schema
|
||||
PRE_TARGETDEPS = gschemas.compiled
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ SOURCES = test.cpp
|
|||
|
||||
schema.target = gschemas.compiled
|
||||
schema.commands = glib-compile-schemas $$PWD
|
||||
schema.depends = com.ubports.gsettings.test.gschema.xml
|
||||
schema.depends = com.canonical.gsettings.test.gschema.xml
|
||||
QMAKE_EXTRA_TARGETS += schema
|
||||
PRE_TARGETDEPS = gschemas.compiled
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ TestCase {
|
|||
|
||||
GSettings {
|
||||
id: settings
|
||||
schema.id: "com.ubports.gsettings.Test"
|
||||
schema.id: "com.canonical.gsettings.Test"
|
||||
// has to be "valueChanged" signal, not "changed"; the latter doesn't work reliably with the in-memory gsettings backend
|
||||
onValueChanged: testCase.changes.push([key, value]);
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ TestCase {
|
|||
GSettings {
|
||||
id: invalid_settings
|
||||
|
||||
schema.id: "com.ubports.gsettings.NonExisting"
|
||||
schema.id: "com.canonical.gsettings.NonExisting"
|
||||
}
|
||||
|
||||
property string bindingTest: settings.testString
|
||||
|
|
Loading…
Reference in New Issue