summaryrefslogtreecommitdiffstats
path: root/src/gui/embedded
diff options
context:
space:
mode:
authorSergey Gusarov <laborer2008@gmail.com>2012-03-31 13:35:53 +0400
committerQt by Nokia <qt-info@nokia.com>2012-04-05 15:38:19 +0200
commit6714e05152bfe6bc17d8328c5c506395a3483129 (patch)
treead3406ba65fcdd38c424e4198dbccb62ad60af09 /src/gui/embedded
parent9e451113e8265790907aceaac814fbe324fb1e33 (diff)
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>
Diffstat (limited to 'src/gui/embedded')
-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 d491ad77c3..7613ab11bc 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