2
0
forked from Ivasoft/DSView

update: file path convert for c api on windows

This commit is contained in:
dreamsourcelabTAI
2022-06-21 18:12:52 +08:00
parent 6a0f1b8cf8
commit 9f7bd786ed
15 changed files with 179 additions and 94 deletions

View File

@@ -93,6 +93,7 @@
#include "appcontrol.h"
#include "dsvdef.h"
#include "appcontrol.h"
#include "utility/encoding.h"
#define BASE_SESSION_VERSION 2
@@ -1260,7 +1261,7 @@ bool MainWindow::on_store_session(QString name)
}
QTextStream outStream(&sessionFile);
app::set_utf8(outStream);
encoding::set_utf8(outStream);
QJsonObject sessionVar;
if (!gen_session_json(sessionVar))