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
Marco Bubke
flatpak-qt-creator
Commits
14714e38
Commit
14714e38
authored
Mar 31, 2010
by
Marco Bubke
Committed by
Kai Koehne
Apr 08, 2010
Browse files
Fix zooming with the mousewheel
Task-Number: BAUHAUS-516
parent
fff5c6ae
Changes
1
Show whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/formeditor/formeditorwidget.cpp
View file @
14714e38
...
...
@@ -175,9 +175,9 @@ void FormEditorWidget::wheelEvent(QWheelEvent *event)
{
if
(
event
->
modifiers
().
testFlag
(
Qt
::
ControlModifier
))
{
if
(
event
->
delta
()
>
0
)
{
zoomAction
()
->
zoomIn
();
}
else
{
zoomAction
()
->
zoomOut
();
}
else
{
zoomAction
()
->
zoomIn
();
}
event
->
accept
();
...
...
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