mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
[Tests] Make tests build again (ctor of HighlightPhrase changed) (#2273)
This commit is contained in:
parent
ddcad4607c
commit
f02e6acc27
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue