summaryrefslogtreecommitdiffstats
path: root/examples/tools/customtypesending/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tools/customtypesending/window.h')
-rw-r--r--examples/tools/customtypesending/window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tools/customtypesending/window.h b/examples/tools/customtypesending/window.h
index 1e60dd6aef..1d7b0b5dc8 100644
--- a/examples/tools/customtypesending/window.h
+++ b/examples/tools/customtypesending/window.h
@@ -44,7 +44,7 @@
#include <QWidget>
#include "message.h"
-class QTextEdit;
+QT_FORWARD_DECLARE_CLASS(QTextEdit)
//! [Window class definition]
class Window : public QWidget