From 3fa63d73330bd74a563e33dbd56b4c04d16f470d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Erik=20Nilsen?= Date: Mon, 23 May 2011 10:39:58 +0200 Subject: [PATCH] Fix typo in API: QSGContext::schdelueTextureForCleanup. Reviewed-by: kim --- src/declarative/scenegraph/qsgcontext.cpp | 2 +- src/declarative/scenegraph/qsgcontext_p.h | 2 +- src/declarative/util/qdeclarativepixmapcache.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/declarative/scenegraph/qsgcontext.cpp b/src/declarative/scenegraph/qsgcontext.cpp index dd35c06..e36d432 100644 --- a/src/declarative/scenegraph/qsgcontext.cpp +++ b/src/declarative/scenegraph/qsgcontext.cpp @@ -164,7 +164,7 @@ QSGEngine *QSGContext::engine() const The texture can be considered as deleted after this function has been called. */ -void QSGContext::schdelueTextureForCleanup(QSGTexture *texture) +void QSGContext::scheduleTextureForCleanup(QSGTexture *texture) { Q_D(QSGContext); d->textureMutex.lock(); diff --git a/src/declarative/scenegraph/qsgcontext_p.h b/src/declarative/scenegraph/qsgcontext_p.h index 59522b6..1344ac7 100644 --- a/src/declarative/scenegraph/qsgcontext_p.h +++ b/src/declarative/scenegraph/qsgcontext_p.h @@ -104,7 +104,7 @@ public: static QSGContext *createDefaultContext(); - void schdelueTextureForCleanup(QSGTexture *texture); + void scheduleTextureForCleanup(QSGTexture *texture); void cleanupTextures(); void setFlashModeEnabled(bool enabled); diff --git a/src/declarative/util/qdeclarativepixmapcache.cpp b/src/declarative/util/qdeclarativepixmapcache.cpp index ef0c422..d2e8af5 100644 --- a/src/declarative/util/qdeclarativepixmapcache.cpp +++ b/src/declarative/util/qdeclarativepixmapcache.cpp @@ -228,7 +228,7 @@ public: ~QDeclarativePixmapData() { if (texture && context) { - context->schdelueTextureForCleanup(texture); + context->scheduleTextureForCleanup(texture); } } -- 1.7.2.5