forked from qt-creator/qt-creator
Don't detach temporary containers
Change-Id: I736cfc61c81995a81b056b3e3e5703ded5912525 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -128,7 +128,7 @@ void ClangToolsUnitTests::testProject()
|
||||
QVERIFY(waitForFinishedTool.wait(m_timeout));
|
||||
|
||||
// Check for errors
|
||||
const QString errorText = waitForFinishedTool.takeFirst().first().toString();
|
||||
const QString errorText = waitForFinishedTool.takeFirst().constFirst().toString();
|
||||
const bool finishedSuccessfully = errorText.isEmpty();
|
||||
if (!finishedSuccessfully)
|
||||
qWarning("Error: %s", qPrintable(errorText));
|
||||
|
||||
Reference in New Issue
Block a user