summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-05-03 22:22:57 -0700
committerThiago Macieira <thiago.macieira@intel.com>2016-05-04 16:44:30 +0000
commit6fb56a74c87c49341f2313f2dfc2f526e498fede (patch)
tree37ec05386f2b8d074b60f3d28701798dda87c6dd /tests/auto/tools
parenta4e3e34b83640b4f245d83e4034179e5efe9c517 (diff)
tst_moc: Remove invalid preprocessor usage
Doing what this code section was doing is not valid use of the preprocessor. Therefore, we don't have to have this behavior and are allowed to change how moc parses this. Change-Id: Id69569111e7d4e619e22ffff144b45ea91ae22e3 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/tools')
-rw-r--r--tests/auto/tools/moc/tst_moc.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/auto/tools/moc/tst_moc.cpp b/tests/auto/tools/moc/tst_moc.cpp
index 4a423b036c..2989ac4485 100644
--- a/tests/auto/tools/moc/tst_moc.cpp
+++ b/tests/auto/tools/moc/tst_moc.cpp
@@ -489,13 +489,6 @@ public:
Q_ENUMS(EnumSourceClass::TestEnum)
};
-#if defined(Q_MOC_RUN)
-// Task #119503
-#define _TASK_119503
-#if !_TASK_119503
-#endif
-#endif
-
class CtorTestClass : public QObject
{
Q_OBJECT