summaryrefslogtreecommitdiffstats
path: root/src/systeminfo/qdeviceinfo.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-03-03 10:27:41 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-03-03 11:40:20 +0000
commit065bd535d890b27433ef9113ea104ed49da893f5 (patch)
tree2fbbdab7ce71cf9e9f4823f5d30b8568630c6669 /src/systeminfo/qdeviceinfo.h
parentcc2077700bd5503d1fcf53aef83cbb76975e745a (diff)
Make public headers compile with -Wzero-as-null-pointer-constant
... or equivalent. QtBase 5.6 headers already compile that way, so let the other modules follow suit. Required to change one misuse of reinterpret_cast into static_cast. Task-number: QTBUG-45291 Change-Id: I8212182c7cd87302aeb16b0cca7e6b0e3ef6c0c6 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/systeminfo/qdeviceinfo.h')
-rw-r--r--src/systeminfo/qdeviceinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systeminfo/qdeviceinfo.h b/src/systeminfo/qdeviceinfo.h
index 2b860c47..b6f8df0d 100644
--- a/src/systeminfo/qdeviceinfo.h
+++ b/src/systeminfo/qdeviceinfo.h
@@ -101,7 +101,7 @@ public:
Firmware
};
- QDeviceInfo(QObject *parent = 0);
+ QDeviceInfo(QObject *parent = Q_NULLPTR);
virtual ~QDeviceInfo();
QDeviceInfo::LockTypeFlags activatedLocks() const;