forked from qt-creator/qt-creator
Valgrind: Fix compilation with older Qt versions
Amends commit 2c212d48a5.
Change-Id: I256c5e8ac38624c333ef344a9274a2b30266e06a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
committed by
Christian Stenger
parent
0c38e3aea7
commit
2e0771f1d6
@@ -760,11 +760,11 @@ void ValgrindTestRunnerTest::testOverlap()
|
||||
}
|
||||
{
|
||||
const Frame frame = stack.frames().last();
|
||||
QCOMPARE(frame.functionName(), "main");
|
||||
QCOMPARE(frame.functionName(), QLatin1String("main"));
|
||||
QCOMPARE(frame.line(), 6 + HEADER_LENGTH);
|
||||
|
||||
QCOMPARE(frame.object(), binary);
|
||||
QCOMPARE(frame.fileName(), "main.cpp");
|
||||
QCOMPARE(frame.fileName(), QLatin1String("main.cpp"));
|
||||
QCOMPARE(QDir::cleanPath(frame.directory()), srcDir);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user