merge from branch: in the common case the GLOBAL_STATIC is already constructed. In that case calling operator!() and operator TYPE *() on the QAtomicPointer is not such a terribly good idea (the pointer is declared as volatile inside QAtomicPointer). KCacheGrind says execution improves by 0.5% for release builds, it's quite noticable for debug builds, though.
merge from branch: in the common case the GLOBAL_STATIC is already constructed. In that case calling operator!() and operator TYPE *() on the QAtomicPointer is not such a terribly good idea (the pointer is declared as volatile inside QAtomicPointer). KCacheGrind says execution improves by 0.5% for release builds, it's quite noticable for debug builds, though.

svn path=/trunk/KDE/kdelibs/phonon/; revision=785627

sandsmark/phonon-visualization-gsoc,sandsmark/phonon-visualization-gsoc,sandsmark/phonon-visualization-gsoc,sandsmark/phonon-visualization-gsoc