Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Marble
Commits
2266a469
Commit
2266a469
authored
Apr 21, 2012
by
Dennis Nienhüser
Browse files
Resizing the widget changes the viewport.
CCBUG: 293148
parent
226f5446
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/MarbleWidget.cpp
View file @
2266a469
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment