Fix typo in API: QSGContext::schdelueTextureForCleanup.
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>
Mon, 23 May 2011 08:39:58 +0000 (10:39 +0200)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>
Mon, 23 May 2011 08:43:39 +0000 (10:43 +0200)
Reviewed-by: kim
src/declarative/scenegraph/qsgcontext.cpp
src/declarative/scenegraph/qsgcontext_p.h
src/declarative/util/qdeclarativepixmapcache.cpp

index dd35c06..e36d432 100644 (file)
@@ -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();
index 59522b6..1344ac7 100644 (file)
@@ -104,7 +104,7 @@ public:
 
     static QSGContext *createDefaultContext();
 
-    void schdelueTextureForCleanup(QSGTexture *texture);
+    void scheduleTextureForCleanup(QSGTexture *texture);
     void cleanupTextures();
 
     void setFlashModeEnabled(bool enabled);
index ef0c422..d2e8af5 100644 (file)
@@ -228,7 +228,7 @@ public:
     ~QDeclarativePixmapData()
     {
         if (texture && context) {
-            context->schdelueTextureForCleanup(texture);
+            context->scheduleTextureForCleanup(texture);
         }
     }