diff options
| author | Alexander Volkov <a.volkov@rusbitech.ru> | 2014-10-24 13:19:08 +0400 |
|---|---|---|
| committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2014-10-24 22:24:07 +0200 |
| commit | 0f3323ce0194b271024d423bec861d51dc55063f (patch) | |
| tree | 93d62aa916c10bcf34e7d0dd23db977614dfa11f /src/widgets/doc/snippets/customviewstyle.cpp | |
| parent | 3903aee91bb4bca618593cf4c856edc0be2a17d8 (diff) | |
Doc: Fix CustomStyle snippet
Add missing semicolon, include QtWidgets instead of QtGui and
use cast for a const pointer because the example with casting
relates to the code above where 'widget' is const.
Task-number: QTBUG-31736
Change-Id: I5cb6d33ec692deaf41e9a1be9e36e752a8da8739
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Diffstat (limited to 'src/widgets/doc/snippets/customviewstyle.cpp')
| -rw-r--r-- | src/widgets/doc/snippets/customviewstyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/doc/snippets/customviewstyle.cpp b/src/widgets/doc/snippets/customviewstyle.cpp index cdb4ed1d77c..0e641653aad 100644 --- a/src/widgets/doc/snippets/customviewstyle.cpp +++ b/src/widgets/doc/snippets/customviewstyle.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include "customviewstyle.h" |
