From 5bcf07c5f6a3429bc787c31d26edd796c8cad9c6 Mon Sep 17 00:00:00 2001 From: saturneric Date: Wed, 17 Jan 2024 01:41:52 +0800 Subject: fix: solve discovered issues --- src/core/function/DataObjectOperator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/function/DataObjectOperator.cpp') diff --git a/src/core/function/DataObjectOperator.cpp b/src/core/function/DataObjectOperator.cpp index 1d4d2c4a..e1d8b4da 100644 --- a/src/core/function/DataObjectOperator.cpp +++ b/src/core/function/DataObjectOperator.cpp @@ -45,7 +45,7 @@ void DataObjectOperator::init_app_secure_key() { DataObjectOperator::DataObjectOperator(int channel) : SingletonFunctionObject(channel) { - if (!QDir(app_secure_path_).exists()) QDir(app_secure_path_).mkdir("."); + if (!QDir(app_secure_path_).exists()) QDir(app_secure_path_).mkpath("."); if (!QFileInfo(app_secure_key_path_).exists()) init_app_secure_key(); QByteArray key; -- cgit v1.2.3