projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dab1ce
)
Change the repaint() call to an update().
author
Fabien Freling
<fabien.freling@nokia.com>
Tue, 3 May 2011 12:28:56 +0000
(14:28 +0200)
committer
Fabien Freling
<fabien.freling@nokia.com>
Tue, 10 May 2011 09:45:33 +0000
(11:45 +0200)
In show_sys(), if we directly call repaint() this
will triggers too many UpdateRequest events.
This fixes the qwidget autotest
"compatibilityChildInsertedEvents".
Reviewed-by: Richard Moe Gustavsen
(cherry picked from commit
747962e6ec20a59b7e2ed67c5cd685258f199a86
)
src/gui/kernel/qwidget_mac.mm
patch
|
blob
|
history
diff --git
a/src/gui/kernel/qwidget_mac.mm
b/src/gui/kernel/qwidget_mac.mm
index
8dc9d2e
..
27a1bb6
100644
(file)
--- a/
src/gui/kernel/qwidget_mac.mm
+++ b/
src/gui/kernel/qwidget_mac.mm
@@
-3526,8
+3526,8
@@
void QWidgetPrivate::show_sys()
// INVARIANT: q is native. Just show the view:
[view setHidden:NO];
} else {
- // INVARIANT: q is alien.
Repaint
q instead:
- q->
repaint
();
+ // INVARIANT: q is alien.
Update
q instead:
+ q->
update
();
}
#endif
}