summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Gusarov <laborer2008@gmail.com>2012-03-31 09:35:53 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-04-05 13:38:19 (GMT)
commit6714e05152bfe6bc17d8328c5c506395a3483129 (patch)
treead3406ba65fcdd38c424e4198dbccb62ad60af09
parent9e451113e8265790907aceaac814fbe324fb1e33 (diff)
downloadQt-6714e05152bfe6bc17d8328c5c506395a3483129.zip
Qt-6714e05152bfe6bc17d8328c5c506395a3483129.tar.gz
Qt-6714e05152bfe6bc17d8328c5c506395a3483129.tar.bz2
Fix clang warning
In file included from /home/sergey/code/QtEmbedded-4.8.0/include/QtGui/QDirectPainter:1: /home/sergey/code/QtEmbedded-4.8.0/include/QtGui/qdirectpainter_qws.h:56:1: warning: class 'QWSEmbedEvent' was previously declared as a struct [-Wmismatched-tags] class QWSEmbedEvent; ^ /home/sergey/code/QtEmbedded-4.8.0/include/QtGui/qwsevent_qws.h:269:8: note: previous use is here struct QWSEmbedEvent : QWSEvent ^ /home/sergey/code/QtEmbedded-4.8.0/include/QtGui/qdirectpainter_qws.h:56:1: note: did you mean struct here? class QWSEmbedEvent; ^~~~~ struct 1 warning generated. Change-Id: Iebda5efe8547b16e457486166a8abc8479b2fd8d Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r--src/gui/embedded/qdirectpainter_qws.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/embedded/qdirectpainter_qws.h b/src/gui/embedded/qdirectpainter_qws.h
index d491ad7..7613ab1 100644
--- a/src/gui/embedded/qdirectpainter_qws.h
+++ b/src/gui/embedded/qdirectpainter_qws.h
@@ -53,7 +53,7 @@ QT_MODULE(Gui)
#ifndef QT_NO_DIRECTPAINTER
class QDirectPainterPrivate;
-class QWSEmbedEvent;
+struct QWSEmbedEvent;
class Q_GUI_EXPORT QDirectPainter : public QObject {
Q_OBJECT