summaryrefslogtreecommitdiff
path: root/tests/auto/other
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@idiap.ch>2018-09-27 00:19:49 +0200
committerSamuel Gaist <samuel.gaist@idiap.ch>2019-04-19 21:21:17 +0000
commite2906ea5c4b97ca9bb4ebf9710207097c44cc8ce (patch)
treed8d2abe5451dd78f25d12ba3b69ddaba55aa24a1 /tests/auto/other
parent642ef0c7311e18b9b4414af6ec3a2d8210bb6880 (diff)
downloadqtbase-e2906ea5c4b97ca9bb4ebf9710207097c44cc8ce.tar.gz
QRegExp include cleanup
QRegExp includes can be found in several files where there's not even a use of the class. This patch aims to avoid needless includes as well as follow the "include only what you use" moto. This patch removes a QRegExp include from the QStringList header which means that there is likely going to be code breaking since QStringList is used in many places and would get QRegExp in. [ChangeLog][Potentially Source-Incompatible Changes] qstringlist.h no longer includes qregexp.h. Change-Id: I32847532f16e419d4cb735ddc11a26551127e923 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/other')
-rw-r--r--tests/auto/other/lancelot/paintcommands.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/other/lancelot/paintcommands.h b/tests/auto/other/lancelot/paintcommands.h
index 79bdab634a..2923502e68 100644
--- a/tests/auto/other/lancelot/paintcommands.h
+++ b/tests/auto/other/lancelot/paintcommands.h
@@ -37,6 +37,7 @@
#include <qpixmap.h>
#include <qbrush.h>
#include <qhash.h>
+#include <qregexp.h>
QT_FORWARD_DECLARE_CLASS(QPainter)
#ifndef QT_NO_OPENGL