mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Removed a lot of size_t/uint/int related compiler warnings. Still more to go.
p4#: 20215
This commit is contained in:
@@ -433,7 +433,7 @@ void RIViewer::paintOverlayItems(QPainter* painter)
|
||||
if (showAnimBar && m_showAnimProgress)
|
||||
{
|
||||
m_animationProgress->setMinimum(0);
|
||||
m_animationProgress->setMaximum(frameCount() - 1);
|
||||
m_animationProgress->setMaximum(static_cast<int>(frameCount()) - 1);
|
||||
m_animationProgress->setValue(currentFrameIndex());
|
||||
m_animationProgress->resize(columnWidth, m_animationProgress->sizeHint().height());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user