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
260721d6
Commit
260721d6
authored
Apr 21, 2012
by
Dennis Nienhüser
Committed by
Bernhard Beschow
Apr 24, 2012
Browse files
Resizing the widget changes the viewport.
CCBUG: 293148
(cherry picked from commit
2266a469
)
parent
e58c32a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/MarbleWidget.cpp
View file @
260721d6
...
...
@@ -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
);
}
...
...
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