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

Port away from deprecated nullptr-QFlags constructor

parent a58d261b
......@@ -52,7 +52,7 @@ public:
column2Width(0),
label(nullptr),
slider(nullptr),
labelAlignment(nullptr)
labelAlignment()
{
}
......@@ -103,7 +103,7 @@ void kpNumInput::setLabel(const QString &label, Qt::Alignment a)
if (label.isEmpty()) {
delete d->label;
d->label = nullptr;
d->labelAlignment = nullptr;
d->labelAlignment = {};
} else {
if (!d->label) {
d->label = new QLabel(this);
......
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