I believe I found one bug with the Qt Mobility Contacts but it seems that
the bugreports.qt.nokia.com web site is out and because I can only verify it
on the n900 I decide to report it here, at least to start with.

The following code will add a new contact but this new contact will not be
available on the standard contacts application. I verified that it gets
saved "somewhere" because if you quit the application and start again you
can find the contact using the "id" generated the first time. The "standard
contacts" application still reports the same number of contacts before
running this code and I can't find the contact on the list.

<code>
QContactManager manager;
QContact contact;
QContactName name;
name.setFirstName("John");
name.setLastName("Doe");
contact.saveDetail(&name);
manager.saveContact(&contact);
qDebug() << "localid: " << contact.localId();
</code>

Has anybody tried modifying the database on the n900 using the qt mobility?
Am I missing something or is it really a bug?



_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to