[Tests] Make tests build again (ctor of HighlightPhrase changed) (#2273)

This commit is contained in:
pajlada 2020-12-13 13:19:22 +01:00 committed by GitHub
parent ddcad4607c
commit f02e6acc27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,8 +9,15 @@ namespace {
HighlightPhrase buildHighlightPhrase(const QString &phrase, bool isRegex,
bool isCaseSensitive)
{
return HighlightPhrase(phrase, false, false, isRegex, isCaseSensitive, "",
QColor());
return HighlightPhrase(phrase, // pattern
false, // showInMentions
false, // hasAlert
false, // hasSound
isRegex, // isRegex
isCaseSensitive, // isCaseSensitive
"", // soundURL
QColor() // color
);
}
} // namespace