summaryrefslogtreecommitdiffstats
path: root/src/bluetoothsettings/bluez/bluetoothdevice_p.h
diff options
context:
space:
mode:
authorRainer Keller <Rainer.Keller@qt.io>2016-10-24 15:52:03 +0200
committerRainer Keller <Rainer.Keller@qt.io>2016-10-31 07:55:17 +0000
commit197bed092d8d88446d3708cd393c8f9c3a8d0491 (patch)
tree48cebb3d757f10bc90f89b881003e98392afce90 /src/bluetoothsettings/bluez/bluetoothdevice_p.h
parent57b15814c8865e517c43fe173c0ffcadf8557ade (diff)
Fix compile error: 0 is not allowed for pointer initialization anymore
Change-Id: Ic8b789a46dafd379fdd48279d6eb138f978e80a5 Reviewed-by: Risto Avila <risto.avila@qt.io> Reviewed-by: Kimmo Ollila <kimmo.ollila@theqtcompany.com> Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Diffstat (limited to 'src/bluetoothsettings/bluez/bluetoothdevice_p.h')
-rw-r--r--src/bluetoothsettings/bluez/bluetoothdevice_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetoothsettings/bluez/bluetoothdevice_p.h b/src/bluetoothsettings/bluez/bluetoothdevice_p.h
index adc283b..84d1382 100644
--- a/src/bluetoothsettings/bluez/bluetoothdevice_p.h
+++ b/src/bluetoothsettings/bluez/bluetoothdevice_p.h
@@ -36,7 +36,7 @@ class OrgBluezDevice1Interface;
class BluetoothDevicePrivate : public QObject
{
public:
- explicit BluetoothDevicePrivate(const QString& address, QObject *parent=0);
+ explicit BluetoothDevicePrivate(const QString& address, QObject *parent = Q_NULLPTR);
void connectDevice();
void disconnectDevice();