Commit 6b98e59b authored by Ahmad Samir's avatar Ahmad Samir

Use Q_EMIT instead of emit

In C++20 there are new classes that have member functions named emit().
c.f.:
https://lists.qt-project.org/pipermail/development/2020-February/038812.html
https://en.cppreference.com/w/cpp/io/basic_osyncstream/emit

GIT_SILENT
parent cfbfc645
......@@ -227,7 +227,7 @@ void Calendar::setFilter(CalFilter *filter)
} else {
d->mFilter = d->mDefaultFilter;
}
emit filterChanged();
Q_EMIT filterChanged();
}
CalFilter *Calendar::filter() const
......
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