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/Output/shout/outputshoutfactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/Output/shout/outputshoutfactory.cpp') diff --git a/src/plugins/Output/shout/outputshoutfactory.cpp b/src/plugins/Output/shout/outputshoutfactory.cpp index 47937a7a9..07d3e44e8 100644 --- a/src/plugins/Output/shout/outputshoutfactory.cpp +++ b/src/plugins/Output/shout/outputshoutfactory.cpp @@ -50,7 +50,7 @@ Output* OutputShoutFactory::create() Volume *OutputShoutFactory::createVolume() { - return 0; + return nullptr; } void OutputShoutFactory::showSettings(QWidget* parent) @@ -63,7 +63,7 @@ void OutputShoutFactory::showAbout(QWidget *parent) { QMessageBox::about (parent, tr("About Icecast Output Plugin"), tr("Qmmp Icecast Output Plugin")+"\n"+ - tr("Compiled against libshout-%1").arg(shout_version(0,0,0))+"\n"+ + tr("Compiled against libshout-%1").arg(shout_version(nullptr,nullptr,nullptr))+"\n"+ tr("Written by: Ilya Kotov ")); } -- cgit v1.2.3-13-gbd6f