summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/storage_unqlite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/storage_unqlite.cpp b/common/storage_unqlite.cpp
index 2bdfc2c..67f910b 100644
--- a/common/storage_unqlite.cpp
+++ b/common/storage_unqlite.cpp
@@ -42,7 +42,7 @@ Storage::Private::Private(const QString &s, const QString &n, AccessMode m)
42{ 42{
43 const QString fullPath(storageRoot + s_unqliteDir + name); 43 const QString fullPath(storageRoot + s_unqliteDir + name);
44 QDir dir; 44 QDir dir;
45 dir.mkdir(storageRoot + s_unqliteDir); 45 dir.mkpath(storageRoot + s_unqliteDir);
46 46
47 //create file 47 //create file
48 int openFlags = UNQLITE_OPEN_CREATE; 48 int openFlags = UNQLITE_OPEN_CREATE;