diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/quick/items/qquickwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp index 6276bedc0b..bead1add1f 100644 --- a/src/quick/items/qquickwindow.cpp +++ b/src/quick/items/qquickwindow.cpp @@ -3261,7 +3261,7 @@ QSGTexture *QQuickWindow::createTextureFromImage(const QImage &image) const \warning The returned texture is not memory managed by the scene graph and must be explicitly deleted by the caller on the rendering thread. - This is acheived by deleting the texture from a QSGNode destructor + This is achieved by deleting the texture from a QSGNode destructor or by using deleteLater() in the case where the texture already has affinity to the rendering thread. |