summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppheadersource_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cpptools/cppheadersource_test.cpp')
-rw-r--r--src/plugins/cpptools/cppheadersource_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppheadersource_test.cpp b/src/plugins/cpptools/cppheadersource_test.cpp
index 37244f4fba..be0bdd03c2 100644
--- a/src/plugins/cpptools/cppheadersource_test.cpp
+++ b/src/plugins/cpptools/cppheadersource_test.cpp
@@ -100,7 +100,7 @@ void CppToolsPlugin::initTestCase()
void CppToolsPlugin::cleanupTestCase()
{
- Utils::FileUtils::removeRecursively(Utils::FilePath::fromString(baseTestDir()));
+ Utils::FilePath::fromString(baseTestDir()).removeRecursively();
CppFileSettings *fs = fileSettings();
fs->headerSearchPaths.removeLast();
fs->headerSearchPaths.removeLast();