We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2feab1e commit 5a6adf5Copy full SHA for 5a6adf5
1 file changed
llamastorage.cpp
@@ -78,6 +78,9 @@ Storage &Storage::instance()
78
79
Storage::Storage()
80
{
81
+ const Utils::FilePath cacheResourceDir = Core::ICore::cacheResourcePath(".");
82
+ cacheResourceDir.ensureWritableDir();
83
+
84
const QString databasePath = Core::ICore::cacheResourcePath("llamacpp.db").path();
85
qCDebug(llamaStorage) << "Storage path:" << databasePath;
86
db = QSqlDatabase::addDatabase("QSQLITE");
0 commit comments