Revision 61e3549...

Go back to digest for 9th September 2012

Optimization in KDE Base

Martin Gräßlin committed changes in [kde-workspace/KDE/4.9] /:

Improve performance of Scene::Window

Replace dynamic_casts to check the type for for Toplevel by isFoo()
calls and use static_casts in such blocks.

Furthermore method shape() returns now a constant reference instead of a
copy of the QRegion.

REVIEW: 106364

File Changes

Modified 2 files
  •   kwin/scene.cpp
  •   kwin/scene.h
2 files changed in total