data: saving and loading Storage with sqlite file next to project file

This commit is contained in:
Eberhard Graether
2015-09-17 12:08:25 +02:00
parent f702b79892
commit a14bfaff56
12 changed files with 37 additions and 33 deletions
+2 -2
View File
@@ -21,8 +21,8 @@
#include "data/type/DataType.h"
#include "settings/ApplicationSettings.h"
Storage::Storage()
: m_sqliteStorage("data/test.sqlite")
Storage::Storage(const FilePath& dbPath)
: m_sqliteStorage(dbPath.str())
{
}