forked from qt-creator/qt-creator
QmlProfiler: Modernize
modernize-* Change-Id: Ibdf9c0ae91bf8a622facc7f323112b550f532f15 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -31,7 +31,7 @@ namespace Internal {
|
||||
|
||||
void fakeDebugServer(QIODevice *socket)
|
||||
{
|
||||
QmlDebug::QPacketProtocol *protocol = new QmlDebug::QPacketProtocol(socket, socket);
|
||||
auto protocol = new QmlDebug::QPacketProtocol(socket, socket);
|
||||
QObject::connect(protocol, &QmlDebug::QPacketProtocol::readyRead, [protocol]() {
|
||||
QmlDebug::QPacket packet(QDataStream::Qt_4_7);
|
||||
const int messageId = 0;
|
||||
|
||||
Reference in New Issue
Block a user