Commit 9fe8e48b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Another cppcheck fix

parent 7b397800
......@@ -56,7 +56,7 @@ int DateNavigator::datesCount() const
void DateNavigator::selectDates(const KCalCore::DateList &dateList, const QDate &preferredMonth)
{
if (dateList.count() > 0) {
if (!dateList.isEmpty()) {
mSelectedDates = dateList;
emitSelected(preferredMonth);
}
......
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