mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-10 07:26:03 -06:00
Fix unit test on Linux due to empty QRegExpValidator constructor (doesn't build on Qt 4.6)
This commit is contained in:
parent
6f3097dd5f
commit
37a3342db5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user