diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-01-03 08:41:40 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-01-03 08:41:40 +0000 |
| commit | a49047c93e91edbc35b8ba74437ad2e94ad8f5e4 (patch) | |
| tree | c86bea5a8233d6ca157edb2f60dddf3e3571af13 /src/app | |
| parent | b917024aa1ac4cb0a40164132db3c6d2913157eb (diff) | |
| download | qmmp-a49047c93e91edbc35b8ba74437ad2e94ad8f5e4.tar.gz qmmp-a49047c93e91edbc35b8ba74437ad2e94ad8f5e4.tar.bz2 qmmp-a49047c93e91edbc35b8ba74437ad2e94ad8f5e4.zip | |
fixed build with -Werror=zero-as-null-pointer-constant
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8573 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/app')
| -rw-r--r-- | src/app/qmmpstarter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/app/qmmpstarter.cpp b/src/app/qmmpstarter.cpp index 291a6db7a..cf537b8de 100644 --- a/src/app/qmmpstarter.cpp +++ b/src/app/qmmpstarter.cpp @@ -66,7 +66,7 @@ QMMPStarter::QMMPStarter() : QObject() connect(qApp, SIGNAL(commitDataRequest(QSessionManager&)), SLOT(commitData(QSessionManager&)), Qt::DirectConnection); #endif #ifdef Q_OS_WIN - m_named_mutex = 0; + m_named_mutex = nullptr; #endif m_option_manager = new BuiltinCommandLineOption(this); QStringList tmp = qApp->arguments().mid(1); @@ -128,7 +128,7 @@ QMMPStarter::QMMPStarter() : QObject() cout << qPrintable(CommandLineManager::executeCommand(key, commands.value(key)).trimmed()) << endl; #ifdef Q_OS_WIN string text = tmp_stream.str(); - QMessageBox::information(0, tr("Command Line Help"), QString::fromLocal8Bit(text.c_str())); + QMessageBox::information(nullptr, tr("Command Line Help"), QString::fromLocal8Bit(text.c_str())); cout.rdbuf(old_stream); //restore old stream buffer #endif return; @@ -413,7 +413,7 @@ void QMMPStarter::printUsage() cout << qPrintable(CommandLineManager::formatHelpString(line)) << endl; #ifdef Q_OS_WIN string text = tmp_stream.str(); - QMessageBox::information(0, tr("Command Line Help"), QString::fromLocal8Bit(text.c_str())); + QMessageBox::information(nullptr, tr("Command Line Help"), QString::fromLocal8Bit(text.c_str())); cout.rdbuf(old_stream); //restore old stream buffer #endif } @@ -431,7 +431,7 @@ void QMMPStarter::printVersion() cout << qPrintable(tr("Using Qt version: %1").arg(qVersion())) << endl; #ifdef Q_OS_WIN string text = tmp_stream.str(); - QMessageBox::information(0, tr("Qmmp Version"), QString::fromLocal8Bit(text.c_str())); + QMessageBox::information(nullptr, tr("Qmmp Version"), QString::fromLocal8Bit(text.c_str())); cout.rdbuf(old_stream); //restore old stream buffer #endif } @@ -448,7 +448,7 @@ void QMMPStarter::printUserInterfaces() cout << qPrintable(name) << endl; #ifdef Q_OS_WIN string text = tmp_stream.str(); - QMessageBox::information(0, tr("User Interfaces"), QString::fromLocal8Bit(text.c_str())); + QMessageBox::information(nullptr, tr("User Interfaces"), QString::fromLocal8Bit(text.c_str())); cout.rdbuf(old_stream); //restore old stream buffer #endif } |
