-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
1.2.x
-
None
QValueSpacePublisher::setValue documentation says: "If name is empty, this call will set the value of this publisher's path." This doesn't work on Symbian Settings Layer.
Code to reproduce the problem ("/path/name" has been defined in .qcrml file as a RProperty):
QValueSpaceSubscriber subscriber("/path/name"); // This works: QValueSpacePublisher publisher("/path"); publisher.setValue("name", 123); publisher.sync(); QCOMPARE(subscriber.value().toInt(), 123); // But this fails: QValueSpacePublisher publisher2("/path/name"); publisher2.setValue(QString(), 234); publisher2.sync(); QCOMPARE(subscriber.value().toInt(), 234);