mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 11:52:08 +01:00
Silenced compiler warning
This commit is contained in:
parent
a94fa9f0ea
commit
e24a3cd99a
@ -388,9 +388,10 @@ void GraphView::updateSliderInfo()
|
|||||||
{
|
{
|
||||||
qreal r, y;
|
qreal r, y;
|
||||||
|
|
||||||
if (_visible.count() > 1)
|
if (_visible.count() > 1) {
|
||||||
r = 0;
|
r = 0;
|
||||||
else {
|
y = 0;
|
||||||
|
} else {
|
||||||
QRectF br(_visible.first()->bounds());
|
QRectF br(_visible.first()->bounds());
|
||||||
if (br.height() < _minYRange)
|
if (br.height() < _minYRange)
|
||||||
br.adjust(0, -(_minYRange/2 - br.height()/2), 0,
|
br.adjust(0, -(_minYRange/2 - br.height()/2), 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user