fix(qt): explicit QVariant::fromValue<qlonglong> for DepthRole

int64_t is ambiguous with QVariant's overload set (int / uint /
qlonglong / qulonglong / bool / float / double). Wrap in
QVariant::fromValue<qlonglong> to disambiguate. Fixes the
build-linux-qt failure on the rebased v6.1.7 PR.
This commit is contained in:
Sami Ahmed
2026-07-08 18:18:52 -07:00
parent 5d0e14370d
commit db67ccfa28
+1 -1
View File
@@ -636,7 +636,7 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const
case StatusRole:
return rec->status.status;
case DepthRole:
return rec->status.depth;
return QVariant::fromValue<qlonglong>(rec->status.depth);
}
return QVariant();
}