diff options
Diffstat (limited to 'src/qmldebug/qqmldebugconnection.cpp')
-rw-r--r-- | src/qmldebug/qqmldebugconnection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmldebug/qqmldebugconnection.cpp b/src/qmldebug/qqmldebugconnection.cpp index 73ccd7c854..1f40cab049 100644 --- a/src/qmldebug/qqmldebugconnection.cpp +++ b/src/qmldebug/qqmldebugconnection.cpp @@ -82,7 +82,7 @@ public: }; QQmlDebugConnectionPrivate::QQmlDebugConnectionPrivate() : - protocol(0), device(0), server(0), gotHello(false), + protocol(nullptr), device(nullptr), server(nullptr), gotHello(false), currentDataStreamVersion(QDataStream::Qt_4_7), maximumDataStreamVersion(QDataStream::Qt_DefaultCompiledVersion) { @@ -303,7 +303,7 @@ void QQmlDebugConnection::close() if (d->device) { d->device->deleteLater(); - d->device = 0; + d->device = nullptr; } } |