forked from qt-creator/qt-creator
QmlProfiler: Pimpl QmlProfilerPlugin class a bit more
... to be able to remove an unneeded use of the global object pool. Plus some code cosmetics. Change-Id: Ifdb0ff9cd40820a34a8951563402a50a594e4fdd Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Internal {
|
||||
|
||||
void QmlProfilerToolTest::testAttachToWaitingApplication()
|
||||
{
|
||||
QmlProfilerTool profilerTool(nullptr);
|
||||
QmlProfilerTool profilerTool;
|
||||
QTcpServer server;
|
||||
QUrl serverUrl = Utils::urlFromLocalHostAndFreePort();
|
||||
QVERIFY(serverUrl.port() >= 0);
|
||||
@@ -79,7 +79,7 @@ void QmlProfilerToolTest::testAttachToWaitingApplication()
|
||||
|
||||
void QmlProfilerToolTest::testClearEvents()
|
||||
{
|
||||
QmlProfilerTool profilerTool(nullptr);
|
||||
QmlProfilerTool profilerTool;
|
||||
QmlProfilerModelManager *modelManager = profilerTool.modelManager();
|
||||
QVERIFY(modelManager);
|
||||
QmlProfilerStateManager *stateManager = profilerTool.stateManager();
|
||||
|
||||
Reference in New Issue
Block a user