mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-12 21:35:49 +00:00
massive changes inside
* use pass by ref instead of by value if possible * use reference in interation over collections * fix no tag inserting
This commit is contained in:
@ -147,7 +147,7 @@ QList<int> QCronScheduler::QCronField::toList()
|
||||
return QList<int>();
|
||||
|
||||
QList<int> output;
|
||||
for (auto i = minValue; i <= maxValue; ++i) {
|
||||
for (auto &i = minValue; i <= maxValue; ++i) {
|
||||
if (i % div != 0)
|
||||
continue;
|
||||
output.append(i);
|
||||
|
Reference in New Issue
Block a user