2
0
forked from Ivasoft/DSView

update: file path convert api

This commit is contained in:
dreamsourcelabTAI
2022-06-22 13:50:02 +08:00
parent 9f7bd786ed
commit ea94e901dd
8 changed files with 22 additions and 19 deletions

View File

@@ -94,6 +94,7 @@
#include "dsvdef.h"
#include "appcontrol.h"
#include "utility/encoding.h"
#include "utility/path.h"
#define BASE_SESSION_VERSION 2
@@ -920,7 +921,7 @@ void MainWindow::on_screenShot()
pixmap.save(fileName, suffix.toLatin1());
fileName = GetDirectoryName(fileName);
fileName = path::GetDirectoryName(fileName);
if (app._userHistory.screenShotPath != fileName){
app._userHistory.screenShotPath = fileName;