Commit 3729fdd9 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix compile against qt6 (it's default and '+' operator is invalid in qt6)

parent e60562f1
......@@ -53,7 +53,6 @@ Element::List Datenums::createDayElements(const QDate &date)
QString::number(remainingDays),
i18np("1 day before the end of the year", "%1 days before the end of the year", remainingDays));
break;
case DayOfYear + DaysRemaining: // both day of year and days till end of year
default:
e = new StoredElement(QStringLiteral("main element"),
QString::number(dayOfYear),
......@@ -132,7 +131,6 @@ Element::List Datenums::createWeekElements(const QDate &date)
case DaysRemaining: // only weeks until end of year
e = new StoredElement(QStringLiteral("main element"), remainingWeeksShort, remainingWeeksLong, remainingWeeksExtensive);
break;
case DayOfYear + DaysRemaining: // both week of year and weeks till end of year
default:
e = new StoredElement(QStringLiteral("main element"),
weekOfYearShort,
......
Supports Markdown
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