Fix unit test on Linux due to empty QRegExpValidator constructor (doesn't build on Qt 4.6)

This commit is contained in:
Gaute Lindkvist committed 2018-12-21 09:48:56 +01:00
1 parent 6f3097dd5f
commit 37a3342db5
1 file changed
+1 -1
@@ -31,7 +31,7 @@ TEST(RimWellPathCompletions, WellNameRegExpValidator)
QString emptyString = "";
QRegExp rx = RimWellPathCompletions::wellNameForExportRegExp();
QRegExpValidator validator;
QRegExpValidator validator (nullptr);
validator.setRegExp(rx);
for (QString validName : validNames)