Commit 01e0c502 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Don't use nullptr for flags

parent 36f4121c
......@@ -209,7 +209,7 @@ QRegularExpression TextFindWidget::searchRegExp() const
#endif
QTextDocument::FindFlags TextFindWidget::searchOptions() const
{
QTextDocument::FindFlags opt = nullptr;
QTextDocument::FindFlags opt = {};
if (mCaseSensitiveAct->isChecked()) {
opt |= QTextDocument::FindCaseSensitively;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment