mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Show the device id in hex
This is consistent with what we used to do Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9d611ba279
commit
1ee894dced
1 changed files with 13 additions and 13 deletions
|
@ -1196,7 +1196,7 @@ QVariant DiveComputerModel::data(const QModelIndex& index, int role) const
|
|||
QVariant ret;
|
||||
if (role == Qt::DisplayRole || role == Qt::EditRole){
|
||||
switch(index.column()){
|
||||
case ID : ret = device->deviceid; break;
|
||||
case ID: ret = QString("0x").append(QString::number(device->deviceid, 16)); break;
|
||||
case MODEL: ret = device->model; break;
|
||||
case NICKNAME: ret = device->nickname; break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue