Store the custom data in a QHash instead of a QMap, since QHash

should be faster.

svn path=/trunk/KDE/kdebase/workspace/; revision=1130551
This commit is contained in:
Fredrik Höglund 2010-05-25 16:56:23 +00:00
parent 3758bea49e
commit b8815bbae6

View file

@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "scene.h" #include "scene.h"
#include <QStack> #include <QStack>
#include <QMap> #include <QHash>
class KService; class KService;
@ -294,7 +294,7 @@ class EffectWindowImpl : public EffectWindow
private: private:
Toplevel* toplevel; Toplevel* toplevel;
Scene::Window* sw; // This one is used only during paint pass. Scene::Window* sw; // This one is used only during paint pass.
QMap<int, QVariant> dataMap; QHash<int, QVariant> dataMap;
}; };
class EffectWindowGroupImpl class EffectWindowGroupImpl