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:
parent
3758bea49e
commit
b8815bbae6
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include "scene.h"
|
||||
|
||||
#include <QStack>
|
||||
#include <QMap>
|
||||
#include <QHash>
|
||||
|
||||
|
||||
class KService;
|
||||
|
@ -294,7 +294,7 @@ class EffectWindowImpl : public EffectWindow
|
|||
private:
|
||||
Toplevel* toplevel;
|
||||
Scene::Window* sw; // This one is used only during paint pass.
|
||||
QMap<int, QVariant> dataMap;
|
||||
QHash<int, QVariant> dataMap;
|
||||
};
|
||||
|
||||
class EffectWindowGroupImpl
|
||||
|
|
Loading…
Reference in a new issue