diff options
author | Christian Kandeler <christian.kandeler@nokia.com> | 2012-09-05 15:52:53 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@nokia.com> | 2012-09-07 09:53:14 +0200 |
commit | 6e09fa8c705c6085ecac3de282d57860120cfb2a (patch) | |
tree | bcbc71887531bcb8f3060e4642048707140af70b /src/libs/utils/buildablehelperlibrary.cpp | |
parent | b21f7ca7e54dc78c30594e50699609d4de495312 (diff) | |
download | qt-creator-6e09fa8c705c6085ecac3de282d57860120cfb2a.tar.gz |
Utils::FileUtils: Use Utils::FileName for file paths instead of QString.
Change-Id: I9ee4c0760820e9299e238c116936ce8ef140c727
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Diffstat (limited to 'src/libs/utils/buildablehelperlibrary.cpp')
-rw-r--r-- | src/libs/utils/buildablehelperlibrary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/buildablehelperlibrary.cpp b/src/libs/utils/buildablehelperlibrary.cpp index 21f9b91ef3..3bde451ca8 100644 --- a/src/libs/utils/buildablehelperlibrary.cpp +++ b/src/libs/utils/buildablehelperlibrary.cpp @@ -138,7 +138,7 @@ bool BuildableHelperLibrary::copyFiles(const QString &sourcePath, QString *errorMessage) { // try remove the directory - if (!FileUtils::removeRecursively(targetDirectory, errorMessage)) + if (!FileUtils::removeRecursively(FileName::fromString(targetDirectory), errorMessage)) return false; if (!QDir().mkpath(targetDirectory)) { *errorMessage = QCoreApplication::translate("ProjectExplorer::DebuggingHelperLibrary", "The target directory %1 could not be created.").arg(targetDirectory); |