mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Profile2: use unsigned int for the divecomputer number
display.h: dc_number is unsigned int, thus a couple of warnings may pop-out. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a908186716
commit
6d6721dc9b
3 changed files with 4 additions and 4 deletions
|
@ -770,7 +770,7 @@ void ProfileWidget2::changeGas()
|
|||
QPointF scenePos = mapToScene(mapFromGlobal(action->data().toPoint()));
|
||||
QString gas = action->text();
|
||||
// backup the things on the dataModel, since we will clear that out.
|
||||
int diveComputer = dataModel->dcShown();
|
||||
unsigned int diveComputer = dataModel->dcShown();
|
||||
int diveId = dataModel->id();
|
||||
int o2, he;
|
||||
int seconds = timeAxis->valueAt(scenePos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue