WSL/SLF GitLab Repository

Commit 8ed7a9d4 authored by Michael Reisecker's avatar Michael Reisecker
Browse files

Now use the QString constructor

Sorry, this line was different previously ;-)
parent 3d1b0a34
......@@ -103,7 +103,7 @@ Datepicker::~Datepicker()
*/
void Datepicker::setOptions(const QDomNode &options)
{
const 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