fix some found warning

This commit is contained in:
2023-05-17 18:55:16 +03:00
parent e9beea2d7a
commit 09a3c32d0c
23 changed files with 35 additions and 37 deletions

View File

@ -135,7 +135,7 @@ QList<int> QCronScheduler::QCronField::toList()
{
// error checking
if ((minValue == -1) || (maxValue == -1))
return QList<int>();
return {};
QList<int> output;
for (auto &i = minValue; i <= maxValue; ++i) {