aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/streambrowser/streamwindow.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-01-03 07:41:04 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-01-03 07:41:04 +0000
commitb917024aa1ac4cb0a40164132db3c6d2913157eb (patch)
tree4424bef9f2ac9a3dab21c822836a1b5c79ffee47 /src/plugins/General/streambrowser/streamwindow.cpp
parentbef5a901922c002815d047d276e61ec0bf8c0f46 (diff)
downloadqmmp-b917024aa1ac4cb0a40164132db3c6d2913157eb.tar.gz
qmmp-b917024aa1ac4cb0a40164132db3c6d2913157eb.tar.bz2
qmmp-b917024aa1ac4cb0a40164132db3c6d2913157eb.zip
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
Diffstat (limited to 'src/plugins/General/streambrowser/streamwindow.cpp')
-rw-r--r--src/plugins/General/streambrowser/streamwindow.cpp6
1 files changed, 3 insertions, 3 deletions
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();