-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
1.0.0, 1.0.1, 1.0.2
-
None
-
Maemo5, N900
-
496d0c5250991c234f85c9148a2546aee43fea53
In the below code when run on Maemo5 it was expected that the QValueSpacePublisher not be connected since Maemo5 uses a Permanent store. From an inspection of QValueSpacePublisher constructor this bug is thought to be on all platforms:
#include <QValueSpacePublisher> QValueSpacePublisher *publisher = new QValueSpacePublisher(QValueSpace::TransientLayer | QValueSpace::WritableLayer , "/example"); if (publisher->isConnected()) qWarning("Connection present when not expected");
The work around for this bug is to specify only QValueSpace::WritableLayer in QValueSpacePublisher constructor.