diff options
author | Edward Welbourne <edward.welbourne@theqtcompany.com> | 2016-01-06 10:43:14 +0100 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@theqtcompany.com> | 2016-01-06 13:06:41 +0000 |
commit | 893067a47458ffd686a419b9dd6288b6ee2667fa (patch) | |
tree | 70ae1c738a3441ca38e106926db80b1418dcd0ac /src/quick | |
parent | 7ffb275c5756ef60187a0d7aec4dcb949ee89fd1 (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>
Diffstat (limited to 'src/quick')
-rw-r--r-- | src/quick/scenegraph/util/qsgtextureprovider.cpp | 4 |
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. */ |