diff --git a/src/plugins/qmlprofiler/tests/qmlprofilerattachdialog_test.cpp b/src/plugins/qmlprofiler/tests/qmlprofilerattachdialog_test.cpp index 8571207bf5f..cf2020f2d89 100644 --- a/src/plugins/qmlprofiler/tests/qmlprofilerattachdialog_test.cpp +++ b/src/plugins/qmlprofiler/tests/qmlprofilerattachdialog_test.cpp @@ -46,9 +46,6 @@ void QmlProfilerAttachDialogTest::testAccessors() dialog.setPort(4444); QCOMPARE(dialog.port(), 4444); - ProjectExplorer::Kit *kit = dialog.kit(); - QVERIFY(kit); - ProjectExplorer::Kit *newKit = new ProjectExplorer::Kit("dings"); ProjectExplorer::KitManager *kitManager = ProjectExplorer::KitManager::instance(); QVERIFY(kitManager);