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() {