Revision 3c36bb3...

Go back to digest for 21st August 2011

Optimization in Educational

Kishore Jonnalagadda committed changes in [marble] /:

use update() instead of repaint() at various places. As per the Qt documentation, it is preferable to call update() instead of repaint(). Calling update() allows qt to optimize by calling paintEvent() only once as needed after several calls to update().
This is my first direct commit to KDE. Thanks Torsten and Bernhard for giuding me through this.
REVIEW: 102314

File Changes

Modified 8 files
  •   src/ControlView.cpp
  •   src/lib/CurrentLocationWidget.cpp
  •   src/lib/MarbleWidget.cpp
  •   src/lib/graphicsview/ScreenGraphicsItem.cpp
  •   src/lib/routing/RoutingLayer.cpp
  •   src/plugins/render/fileview/FileViewFloatItem.cpp
  •   src/plugins/render/osmannotate/OsmAnnotatePlugin.cpp
  •   src/plugins/render/routing/RoutingPlugin.cpp
8 files changed in total