From 25f6231e9d4fe96d17abceeb968e56457813bd88 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Mon, 8 Jul 2019 22:24:00 +0200 Subject: [PATCH] Replace QString::null with QString() --- src/widgets/busyindicator.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/widgets/busyindicator.cpp b/src/widgets/busyindicator.cpp index 8e3fa4f60..8867e9edb 100644 --- a/src/widgets/busyindicator.cpp +++ b/src/widgets/busyindicator.cpp @@ -42,7 +42,7 @@ BusyIndicator::BusyIndicator(const QString &text, QWidget* parent) BusyIndicator::BusyIndicator(QWidget* parent) : QWidget(parent) { - Init(QString::null); + Init(QString()); } void BusyIndicator::Init(const QString &text) { @@ -64,6 +64,7 @@ void BusyIndicator::Init(const QString &text) { layout->addWidget(label_); set_text(text); + } BusyIndicator::~BusyIndicator() {