summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/downloadfromdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-01 18:29:49 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-01 12:26:59 -0700
commitd7d01ab8a677b4c03476f48fc05633ce45c22263 (patch)
treea6530e9a593e41306344fa06224bcf50f1e2d225 /desktop-widgets/downloadfromdivecomputer.h
parent2a802721f4955b4d48a55d20dbba3a67d62a7bf8 (diff)
downloadsubsurface-d7d01ab8a677b4c03476f48fc05633ce45c22263.tar.gz
cleanup: explicitly cast to int to silence a compiler warning
In DivelogsDeWebServices::updateProgress() QProgressBar::setRange() and QProgressBar::setValue() were passed floats even though they expect ints. To silence a compiler warning, cast by hand. Use the lrint() function, since we generally do it this way. However, it is not clear whether this is necessary here. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/downloadfromdivecomputer.h')
0 files changed, 0 insertions, 0 deletions