[Tests] Make tests build again (ctor of HighlightPhrase changed) (#2273)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user