Commit 06612ece authored by Nikolai Kosjar's avatar Nikolai Kosjar

Designer: Tests: Fix compilation with Qt4

Change-Id: Ia9cfc1caf770b23262e606d9f485b6c0dd9bef2b
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 948dd853
...@@ -165,8 +165,9 @@ void Designer::Internal::FormEditorPlugin::test_gotoslot() ...@@ -165,8 +165,9 @@ void Designer::Internal::FormEditorPlugin::test_gotoslot()
#endif #endif
} }
void FormEditorPlugin::test_gotoslot_data() void Designer::Internal::FormEditorPlugin::test_gotoslot_data()
{ {
#if QT_VERSION >= 0x050000
typedef QLatin1String _; typedef QLatin1String _;
QTest::addColumn<QStringList>("files"); QTest::addColumn<QStringList>("files");
...@@ -176,4 +177,5 @@ void FormEditorPlugin::test_gotoslot_data() ...@@ -176,4 +177,5 @@ void FormEditorPlugin::test_gotoslot_data()
<< testData.file(_("form.cpp")) << testData.file(_("form.cpp"))
<< testData.file(_("form.h")) << testData.file(_("form.h"))
<< testData.file(_("form.ui"))); << testData.file(_("form.ui")));
#endif
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment