aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/gnomehotkey
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/gnomehotkey')
-rw-r--r--src/plugins/General/gnomehotkey/gnomehotkeyfactory.cpp2
-rw-r--r--src/plugins/General/gnomehotkey/mediakeys.cpp2
-rw-r--r--src/plugins/General/gnomehotkey/mediakeys.h2
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: