summaryrefslogtreecommitdiff
path: root/Tests/QtAutogen
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2020-03-30 16:55:20 -0400
committerBrad King <brad.king@kitware.com>2020-05-21 11:32:01 -0400
commitcd9c3c000f7f79cc12c8787078256935f856d5a7 (patch)
treeffe139a734dd2d0fa659d6c6f670dd709f570f23 /Tests/QtAutogen
parentd806bd2e8c971aa60ddf8326a9470822a10b1ec6 (diff)
downloadcmake-cd9c3c000f7f79cc12c8787078256935f856d5a7.tar.gz
Tests: Update QtAutogen codeeditor test only include headers needed
Diffstat (limited to 'Tests/QtAutogen')
-rw-r--r--Tests/QtAutogen/Complex/codeeditor.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/QtAutogen/Complex/codeeditor.cpp b/Tests/QtAutogen/Complex/codeeditor.cpp
index bb6f405ad2..80d6a55095 100644
--- a/Tests/QtAutogen/Complex/codeeditor.cpp
+++ b/Tests/QtAutogen/Complex/codeeditor.cpp
@@ -40,7 +40,10 @@
#include "codeeditor.h"
-#include <QtGui>
+#include <QPainter>
+#include <QSize>
+#include <QTextBlock>
+#include <QWidget>
CodeEditor::CodeEditor(QWidget* parent)
: QPlainTextEdit(parent)