Skip to content

Commit

Permalink
fix: the 'alt print' shotcut not quit
Browse files Browse the repository at this point in the history
fix the 'alt print' shotcut not quit

Log: fix the 'alt print' shotcut not quit
Bug: https://pms.uniontech.com/bug-view-279221.html
  • Loading branch information
add-uos authored and deepin-bot[bot] committed Oct 18, 2024
1 parent e037b93 commit de3e5e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1814,6 +1814,10 @@ void MainWindow::topWindow()
const auto r = saveAction(screenShotPix);
save2Clipboard(screenShotPix);
sendNotify(m_saveIndex, m_saveFileName, r);

QTimer::singleShot(10, [ = ] {
exitApp();
});
}

void MainWindow::saveTopWindow()
Expand Down

0 comments on commit de3e5e6

Please sign in to comment.