[Marble-devel] [patch] Call update() instead of repaint() in MarbleWidget
Kishore Jonnalagadda
kitts.mailinglists at gmail.com
Sat Aug 13 14:42:14 UTC 2011
This patch modifies MarbleWidget to call update() instead of repaint(). As per
teh Qt docs is most often a bad idea to call repaint() and update() should be
called instead.
Indeed this improves performance here as well where in my application a
particular case was causing the the centerOn() API to be called repeatedly and
this would cause a slowdown with marble painting more often than necessary.
--
Cheers!
Kishore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevelophQ26012.patch
Type: text/x-patch
Size: 3794 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20110813/3a5177eb/attachment.patch>
More information about the Marble-devel
mailing list