WSL/SLF GitLab Repository

Commit 3d1b0a34 authored by Michael Reisecker's avatar Michael Reisecker
Browse files

Fix a missing const

parent beaf2d2d
......@@ -103,7 +103,7 @@ Datepicker::~Datepicker()
*/
void Datepicker::setOptions(const QDomNode &options)
{
QString user_date_format = options.toElement().attribute("format");
const QString user_date_format = options.toElement().attribute("format");
if (!user_date_format.isEmpty())
date_format_ = user_date_format;
datepicker_->setDisplayFormat(date_format_);
......
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