diff --git a/src/plugins/cppeditor/cppquickfix_test.cpp b/src/plugins/cppeditor/cppquickfix_test.cpp index 319f01d25cc..e7b840d3fd7 100644 --- a/src/plugins/cppeditor/cppquickfix_test.cpp +++ b/src/plugins/cppeditor/cppquickfix_test.cpp @@ -1264,7 +1264,7 @@ void CppEditorPlugin::test_quickfix_InsertDeclFromDef() QList includesForSource(const QByteArray &source) { - const QString fileName = TestIncludePaths::TestIncludePaths::directoryOfTestFile() + QLatin1String("/file.cpp"); + const QString fileName = TestIncludePaths::directoryOfTestFile() + QLatin1String("/file.cpp"); Utils::FileSaver srcSaver(fileName); srcSaver.write(source); srcSaver.finalize();