Commit c1404926 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

SieveDateSpinBox: fix result of code() for weekdays

Found by looking at the broken unit test

Regressed in a71bfae4
parent 1caaf9eb
Pipeline #74247 passed with stage
in 10 minutes and 59 seconds
......@@ -96,7 +96,7 @@ QString SieveDateSpinBox::convertValue() const
str = QStringLiteral("%1").arg(value(), 2, 10, QLatin1Char('0'));
case SelectDateWidget::Weekday:
str = value();
str = QString::number(value());
qCWarning(LIBKSIEVE_LOG) << "This type mustn't be selected " << mType;
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