mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 20:20:02 +00:00
Addressbook: Fix size_t build error
This commit is contained in:
parent
28a220d4ac
commit
3788943d9d
1 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,8 @@ QVariant AddressBookModel::data(const QModelIndex &index, int role) const
|
||||||
result = QString::fromStdString(ar->getPaymentId());
|
result = QString::fromStdString(ar->getPaymentId());
|
||||||
break;
|
break;
|
||||||
case AddressBookRowIdRole:
|
case AddressBookRowIdRole:
|
||||||
result = ar->getRowId();
|
// Qt doesnt support size_t overload type casting
|
||||||
|
result.setValue(ar->getRowId());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue