diff options
author | hjk <hjk@qt.io> | 2021-07-01 08:59:32 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2021-07-02 04:57:24 +0000 |
commit | 92904480f0a8d696b3f0dcd46353accb64a44cee (patch) | |
tree | 7702a16029e79ee572beabc5ed130f06742b3184 /src/plugins/cpptools/cppheadersource_test.cpp | |
parent | 8ed5836746221a07c58e8eaa0c40aecf0e587a10 (diff) | |
download | qt-creator-92904480f0a8d696b3f0dcd46353accb64a44cee.tar.gz |
Utils: Merge FileUtils::removeRecursively() into FilePath
This simplify the interface by removing a possibly wrong choice
ensures it works also on remote paths.
Change-Id: I01e198958900a91b99dcf2dbb491a593485493ba
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppheadersource_test.cpp')
-rw-r--r-- | src/plugins/cpptools/cppheadersource_test.cpp | 2 |
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(); |