diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-01-03 07:41:04 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-01-03 07:41:04 +0000 |
| commit | b917024aa1ac4cb0a40164132db3c6d2913157eb (patch) | |
| tree | 4424bef9f2ac9a3dab21c822836a1b5c79ffee47 /src/plugins/General/gnomehotkey | |
| parent | bef5a901922c002815d047d276e61ec0bf8c0f46 (diff) | |
| download | qmmp-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/gnomehotkey')
| -rw-r--r-- | src/plugins/General/gnomehotkey/gnomehotkeyfactory.cpp | 2 | ||||
| -rw-r--r-- | src/plugins/General/gnomehotkey/mediakeys.cpp | 2 | ||||
| -rw-r--r-- | src/plugins/General/gnomehotkey/mediakeys.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/General/gnomehotkey/gnomehotkeyfactory.cpp b/src/plugins/General/gnomehotkey/gnomehotkeyfactory.cpp index e22d2d9e9..af50b9e3f 100644 --- a/src/plugins/General/gnomehotkey/gnomehotkeyfactory.cpp +++ b/src/plugins/General/gnomehotkey/gnomehotkeyfactory.cpp @@ -42,7 +42,7 @@ QObject *GnomeHotkeyFactory::create(QObject *parent) QDialog *GnomeHotkeyFactory::createConfigDialog(QWidget *parent) { Q_UNUSED(parent); - return 0; + return nullptr; } void GnomeHotkeyFactory::showAbout(QWidget *parent) diff --git a/src/plugins/General/gnomehotkey/mediakeys.cpp b/src/plugins/General/gnomehotkey/mediakeys.cpp index 495380173..e4ae96155 100644 --- a/src/plugins/General/gnomehotkey/mediakeys.cpp +++ b/src/plugins/General/gnomehotkey/mediakeys.cpp @@ -33,7 +33,7 @@ MediaKeys::MediaKeys(QObject *parent) : QObject(parent) { m_isRegistered = false; - m_interface = 0; + m_interface = nullptr; if(!QDBusConnection::sessionBus().interface()->isServiceRegistered("org.gnome.SettingsDaemon")) { qWarning("MediaKeys: gnome settings daemon is not running"); diff --git a/src/plugins/General/gnomehotkey/mediakeys.h b/src/plugins/General/gnomehotkey/mediakeys.h index 6533b3443..4fb0028fe 100644 --- a/src/plugins/General/gnomehotkey/mediakeys.h +++ b/src/plugins/General/gnomehotkey/mediakeys.h @@ -33,7 +33,7 @@ class MediaKeys : public QObject { Q_OBJECT public: - explicit MediaKeys(QObject *parent = 0); + explicit MediaKeys(QObject *parent = nullptr); virtual ~MediaKeys(); private slots: |
