on xenial help sign in
sync fake config after writing and before reading it
90400f9Michael Zanetti
tests/plugins/Utils/DeviceConfigParserTest.cpp+1
@@ -50,6 +50,7 @@ private Q_SLOTS:
50
50
51 s.setValue("SupportedOrientations", QStringList() << "Portrait" << "Landscape" << "InvertedLandscape");
51 s.setValue("SupportedOrientations", QStringList() << "Portrait" << "Landscape" << "InvertedLandscape");
52 s.setValue("PrimaryOrientation", "InvertedLandscape");
52 s.setValue("PrimaryOrientation", "InvertedLandscape");
53+ s.sync();
53
54
54 DeviceConfigParser p;
55 DeviceConfigParser p;
55 p.setName("fakedevice");
56 p.setName("fakedevice");