Skip to content

Commit 5ab58bd

Browse files
去除说明文档
1 parent da19461 commit 5ab58bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/globalshortcutfilter.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ bool GlobalShortcutFilter::nativeEventFilter(const QByteArray& eventType,
3333
const quint32 modifiers = LOWORD(msg->lParam);
3434

3535
// Show screenshots history
36+
// 按下截屏键和shit键时,触发
3637
if (VK_SNAPSHOT == keycode && MOD_SHIFT == modifiers) {
3738
Flameshot::instance()->history();
3839
}
3940

4041
// Capture screen
42+
// 按下截屏键时触发并且同时没有触发Ctrl sshift等键盘的时候触发
4143
if (VK_SNAPSHOT == keycode && 0 == modifiers) {
4244
Flameshot::instance()->requestCapture(
4345
CaptureRequest(CaptureRequest::GRAPHICAL_MODE));

0 commit comments

Comments
 (0)