2
0
forked from Ivasoft/DSView

add: usb hotplug event define

This commit is contained in:
dreamsourcelabTAI
2022-04-06 17:45:22 +08:00
parent 9323583594
commit 050aa9b0ec
5 changed files with 16 additions and 4 deletions

View File

@@ -881,7 +881,7 @@ void MainWindow::on_search(bool visible)
void MainWindow::on_screenShot()
{
AppConfig &app = AppConfig::Instance();
QString default_name = app._userHistory.screenShotPath + "/DSView" + QDateTime::currentDateTime().toString("-yyMMdd-hhmmss");
QString default_name = app._userHistory.screenShotPath + "/" + APP_NAME + QDateTime::currentDateTime().toString("-yyMMdd-hhmmss");
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
QScreen *scr = QGuiApplication::primaryScreen();