Commit 2266a469 authored by Dennis Nienhüser's avatar Dennis Nienhüser
Browse files

Resizing the widget changes the viewport.

CCBUG: 293148
parent 226f5446
......@@ -724,6 +724,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