Debugger: initialise SavedAddress.address with 0 instead of NULL

This commit is contained in:
psykose 2024-01-08 10:17:36 +00:00 committed by Connor McLaughlin
parent dcdf3b39a3
commit ab68c570a9
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ Qt::ItemFlags SavedAddressesModel::flags(const QModelIndex& index) const
void SavedAddressesModel::addRow()
{
const SavedAddress defaultNewAddress = {NULL, "Name", "Description"};
const SavedAddress defaultNewAddress = {0, "Name", "Description"};
addRow(defaultNewAddress);
}