From b917024aa1ac4cb0a40164132db3c6d2913157eb Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 3 Jan 2019 07:41:04 +0000 Subject: fixed build with -Werror=zero-as-null-pointer-constant git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8572 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/streambrowser/streamwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/General/streambrowser/streamwindow.cpp') diff --git a/src/plugins/General/streambrowser/streamwindow.cpp b/src/plugins/General/streambrowser/streamwindow.cpp index 6bf73f6d4..e5dadd958 100644 --- a/src/plugins/General/streambrowser/streamwindow.cpp +++ b/src/plugins/General/streambrowser/streamwindow.cpp @@ -47,7 +47,7 @@ StreamWindow::StreamWindow(QWidget *parent) setWindowFlags(Qt::Window); setAttribute(Qt::WA_DeleteOnClose); setAttribute(Qt::WA_QuitOnClose, false); - m_requestReply = 0; + m_requestReply = nullptr; //buttons m_ui->addPushButton->setIcon(QIcon::fromTheme("list-add")); m_ui->updatePushButton->setIcon(QIcon::fromTheme("view-refresh")); @@ -153,13 +153,13 @@ void StreamWindow::showText(QNetworkReply *reply) { m_ui->statusLabel->setText(tr("Error")); QMessageBox::warning (this, tr("Error"), reply->errorString()); - m_requestReply = 0; + m_requestReply = nullptr; reply->deleteLater(); return; } if(m_requestReply == reply) { - m_requestReply = 0; + m_requestReply = nullptr; readXml(reply, m_iceCastModel); } reply->deleteLater(); -- cgit v1.2.3-13-gbd6f