summaryrefslogtreecommitdiff
path: root/src/tools/sdktool/operation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/sdktool/operation.cpp')
-rw-r--r--src/tools/sdktool/operation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/sdktool/operation.cpp b/src/tools/sdktool/operation.cpp
index 4d9c94598a..5c068bbddd 100644
--- a/src/tools/sdktool/operation.cpp
+++ b/src/tools/sdktool/operation.cpp
@@ -122,7 +122,7 @@ bool Operation::save(const QVariantMap &map, const QString &file) const
Utils::FileName dirName = path.parentDir();
QDir dir(dirName.toString());
- if (!dir.exists() && !dir.mkpath(dirName.toString())) {
+ if (!dir.exists() && !dir.mkpath(QLatin1String("."))) {
std::cerr << "Error: Could not create directory " << qPrintable(dirName.toString())
<< "." << std::endl;
return false;