diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-01 10:55:38 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-01 10:55:38 +0900 |
commit | b2f97450eff7140a425ff37284db60f8917f4999 (patch) | |
tree | ce6c532015a5a5b81585739d648b266f94c3cbe1 /ksnapshot/ksnapshot.cpp | |
parent | 6f41322a4ffc9eda79b16cfcb8d1fade8f211921 (diff) | |
download | tdegraphics-b2f97450eff7140a425ff37284db60f8917f4999.tar.gz tdegraphics-b2f97450eff7140a425ff37284db60f8917f4999.zip |
ksnapshot: add delay functionality to 'Region' mode. This resolves issue #71.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksnapshot/ksnapshot.cpp')
-rw-r--r-- | ksnapshot/ksnapshot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ksnapshot/ksnapshot.cpp b/ksnapshot/ksnapshot.cpp index 00a1b1ac..f9fd5f12 100644 --- a/ksnapshot/ksnapshot.cpp +++ b/ksnapshot/ksnapshot.cpp @@ -282,7 +282,7 @@ void KSnapshot::slotGrab() oldWinPos = pos(); hide(); - if ( mainWidget->delay() && mainWidget->mode() != Region ) + if ( mainWidget->delay() ) grabTimer.start( mainWidget->delay() * 1000, true ); else { if ( mainWidget->mode() == Region ) { |