Commit 003de5c1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Update QRadioButton

parent 822570fa
......@@ -363,6 +363,15 @@ QuickSearchLine::SearchOptions SearchLineStatus::searchOptions() const
void SearchLineStatus::setSearchOptions(QuickSearchLine::SearchOptions opts)
{
mSearchEveryWhereAction->setChecked(opts & QuickSearchLine::SearchEveryWhere);
mSearchAgainstBodyAction->setChecked(opts & QuickSearchLine::SearchAgainstBody);
mSearchAgainstSubjectAction->setChecked(opts & QuickSearchLine::SearchAgainstSubject);
mSearchAgainstBccAction->setChecked(opts & QuickSearchLine::SearchAgainstBcc);
if (mContainsOutboundMessages) {
mSearchAgainstFromOrToAction->setChecked(opts & QuickSearchLine::SearchAgainstTo);
} else {
mSearchAgainstFromOrToAction->setChecked(opts & QuickSearchLine::SearchAgainstFrom);
}
}
void SearchLineStatus::slotFilterActionClicked(QAction *act)
......
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