diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2014-12-09 23:19:44 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2014-12-10 09:49:23 +0100 |
commit | cd9c48833cf4fbf73df68dcdb83f261c03950f91 (patch) | |
tree | 4f99e51cb4b12bb5cc07e6a1dd6a7f0a3ee5eb12 /src/serialport/qserialportinfo.cpp | |
parent | 160efdbbf51c38ac973b0e36b98b72e2439f51e6 (diff) | |
download | qtserialport-cd9c48833cf4fbf73df68dcdb83f261c03950f91.tar.gz |
Use Q_NULLPTR where it is possible
Change-Id: I7261a92ea4405c8aeab7670f73e7225ed7e4d9d0
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Diffstat (limited to 'src/serialport/qserialportinfo.cpp')
-rw-r--r-- | src/serialport/qserialportinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialport/qserialportinfo.cpp b/src/serialport/qserialportinfo.cpp index ced4361..26b275d 100644 --- a/src/serialport/qserialportinfo.cpp +++ b/src/serialport/qserialportinfo.cpp @@ -72,7 +72,7 @@ QSerialPortInfo::QSerialPortInfo() Constructs a copy of \a other. */ QSerialPortInfo::QSerialPortInfo(const QSerialPortInfo &other) - : d_ptr(other.d_ptr ? new QSerialPortInfoPrivate(*other.d_ptr) : 0) + : d_ptr(other.d_ptr ? new QSerialPortInfoPrivate(*other.d_ptr) : Q_NULLPTR) { } |