Addressbook: Fix size_t build error

This commit is contained in:
Jaquee 2016-12-15 15:26:20 +01:00
parent 28a220d4ac
commit 3788943d9d
No known key found for this signature in database
GPG key ID: 384E52B09F45DC39

View file

@ -50,7 +50,8 @@ QVariant AddressBookModel::data(const QModelIndex &index, int role) const
result = QString::fromStdString(ar->getPaymentId());
break;
case AddressBookRowIdRole:
result = ar->getRowId();
// Qt doesnt support size_t overload type casting
result.setValue(ar->getRowId());
break;
}