mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +01:00
[Qt] Fix thin space in URI
This commit is contained in:
@@ -79,10 +79,17 @@ QVariant RecentRequestsTableModel::data(const QModelIndex &index, int role) cons
|
||||
case Amount:
|
||||
if (rec->recipient.amount == 0 && role == Qt::DisplayRole)
|
||||
return tr("(no amount)");
|
||||
else if (role == Qt::EditRole)
|
||||
return BitcoinUnits::format(walletModel->getOptionsModel()->getDisplayUnit(), rec->recipient.amount, false, BitcoinUnits::separatorNever);
|
||||
else
|
||||
return BitcoinUnits::format(walletModel->getOptionsModel()->getDisplayUnit(), rec->recipient.amount);
|
||||
}
|
||||
}
|
||||
else if (role == Qt::TextAlignmentRole)
|
||||
{
|
||||
if (index.column() == Amount)
|
||||
return (int)(Qt::AlignRight|Qt::AlignVCenter);
|
||||
}
|
||||
return QVariant();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user