summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@theqtcompany.com>2016-01-06 10:43:14 +0100
committerTopi Reiniƶ <topi.reinio@theqtcompany.com>2016-01-06 13:06:41 +0000
commit893067a47458ffd686a419b9dd6288b6ee2667fa (patch)
tree70ae1c738a3441ca38e106926db80b1418dcd0ac
parent7ffb275c5756ef60187a0d7aec4dcb949ee89fd1 (diff)
Correct declaration in doc to match const in code.
QSGTextureProvider::texture() was getting a warning from qdoc because it didn't find an exact match for its signature: the doc lacked const. Ditch some spurious semicolons while we're about it. Change-Id: I785ae8b8d46c839a1e29339284834a8b8e44bffe Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
-rw-r--r--src/quick/scenegraph/util/qsgtextureprovider.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/scenegraph/util/qsgtextureprovider.cpp b/src/quick/scenegraph/util/qsgtextureprovider.cpp
index 2d05e736fe..f2c8eaa54e 100644
--- a/src/quick/scenegraph/util/qsgtextureprovider.cpp
+++ b/src/quick/scenegraph/util/qsgtextureprovider.cpp
@@ -45,12 +45,12 @@ QT_BEGIN_NAMESPACE
\sa {Scene Graph - Two Texture Providers}
*/
/*!
- \fn QSGTexture *QSGTextureProvider::texture();
+ \fn QSGTexture *QSGTextureProvider::texture() const
Returns a pointer to the texture object.
*/
/*!
- \fn void QSGTextureProvider::textureChanged();
+ \fn void QSGTextureProvider::textureChanged()
This signal is emitted when the texture changes.
*/