diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-01 18:29:49 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-04-01 12:26:59 -0700 |
commit | d7d01ab8a677b4c03476f48fc05633ce45c22263 (patch) | |
tree | a6530e9a593e41306344fa06224bcf50f1e2d225 /desktop-widgets/filterwidget2.cpp | |
parent | 2a802721f4955b4d48a55d20dbba3a67d62a7bf8 (diff) | |
download | subsurface-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/filterwidget2.cpp')
0 files changed, 0 insertions, 0 deletions