--- a/qtmobility/src/messaging/qmessageaccountid_qmf.cpp Mon May 03 13:18:40 2010 +0300
+++ b/qtmobility/src/messaging/qmessageaccountid_qmf.cpp Fri May 14 16:41:33 2010 +0300
@@ -65,7 +65,7 @@
QMessageAccountId::QMessageAccountId(const QString& id)
: d_ptr(0)
{
- QMailAccountId aid(id.toULongLong());
+ QMailAccountId aid(QmfHelpers::stripIdentifierPrefix(id).toULongLong());
if (aid.isValid()) {
d_ptr = new QMessageAccountIdPrivate;
d_ptr->_id = aid;
@@ -117,7 +117,8 @@
QString QMessageAccountId::toString() const
{
- return (isValid() ? QString::number(d_ptr->_id.toULongLong()) : QString());
+ QString result = (isValid() ? QString::number(d_ptr->_id.toULongLong()) : QString());
+ return QmfHelpers::prefixIdentifier(result);
}
bool QMessageAccountId::isValid() const