Commit 260721d6 authored by Dennis Nienhüser's avatar Dennis Nienhüser Committed by Bernhard Beschow
Browse files

Resizing the widget changes the viewport.

CCBUG: 293148
(cherry picked from commit 2266a469)
parent e58c32a6
......@@ -717,6 +717,7 @@ void MarbleWidget::resizeEvent( QResizeEvent* )
setUpdatesEnabled( false );
d->m_map.setSize( width(), height() );
d->repaint();
emit visibleLatLonAltBoxChanged( d->m_map.viewport()->viewLatLonAltBox() );
setUpdatesEnabled( true );
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment