Commit 32ce2119 authored by Tobias Hunger's avatar Tobias Hunger

QmlDesigner: Modernize (nullptr and member initialization)

Change-Id: I4d791427959c32a8fe8f831ecb7bd76ffbee2a97
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent d3669445
......@@ -107,15 +107,7 @@ NodeInstanceServerProxy::NodeInstanceServerProxy(NodeInstanceView *nodeInstanceV
: NodeInstanceServerInterface(nodeInstanceView),
m_localServer(new QLocalServer(this)),
m_nodeInstanceView(nodeInstanceView),
m_firstBlockSize(0),
m_secondBlockSize(0),
m_thirdBlockSize(0),
m_writeCommandCounter(0),
m_firstLastReadCommandCounter(0),
m_secondLastReadCommandCounter(0),
m_thirdLastReadCommandCounter(0),
m_runModus(runModus),
m_synchronizeId(-1)
m_runModus(runModus)
{
if (instanceViewBenchmark().isInfoEnabled())
m_benchmarkTimer.start();
......
......@@ -118,15 +118,15 @@ private:
QPointer<QProcess> m_qmlPuppetEditorProcess;
QPointer<QProcess> m_qmlPuppetPreviewProcess;
QPointer<QProcess> m_qmlPuppetRenderProcess;
quint32 m_firstBlockSize;
quint32 m_secondBlockSize;
quint32 m_thirdBlockSize;
quint32 m_writeCommandCounter;
quint32 m_firstLastReadCommandCounter;
quint32 m_secondLastReadCommandCounter;
quint32 m_thirdLastReadCommandCounter;
quint32 m_firstBlockSize = 0;
quint32 m_secondBlockSize = 0;
quint32 m_thirdBlockSize = 0;
quint32 m_writeCommandCounter = 0;
quint32 m_firstLastReadCommandCounter = 0;
quint32 m_secondLastReadCommandCounter = 0;
quint32 m_thirdLastReadCommandCounter = 0;
RunModus m_runModus;
int m_synchronizeId;
int m_synchronizeId = -1;
QTime m_benchmarkTimer;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment