summaryrefslogtreecommitdiff
path: root/src/serialport/qserialportinfo.cpp
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2014-12-09 23:19:44 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2014-12-10 09:49:23 +0100
commitcd9c48833cf4fbf73df68dcdb83f261c03950f91 (patch)
tree4f99e51cb4b12bb5cc07e6a1dd6a7f0a3ee5eb12 /src/serialport/qserialportinfo.cpp
parent160efdbbf51c38ac973b0e36b98b72e2439f51e6 (diff)
downloadqtserialport-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.cpp2
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)
{
}