sync fake config after writing and before reading it
commit90400f9ee64fc12b903f4c1fcd56c773947ea9e8
authorMichael Zanetti <michael.zanetti@canonical.com>
dateFri 12 Feb 2016, 13:57 (11 years ago)
parent30441cf
tests/plugins/Utils/DeviceConfigParserTest.cpp+1
@@ -50,6 +50,7 @@ private Q_SLOTS:
5050
5151 s.setValue("SupportedOrientations", QStringList() << "Portrait" << "Landscape" << "InvertedLandscape");
5252 s.setValue("PrimaryOrientation", "InvertedLandscape");
53+ s.sync();
5354
5455 DeviceConfigParser p;
5556 p.setName("fakedevice");