diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-06-13 09:01:04 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-06-13 09:01:04 +0200 |
commit | 146540da2d1427a4172eb422cff94d89f03ce891 (patch) | |
tree | 0d94991540dd5ae97e2bc84c2ac96f3f1ea455db /facetracknoir/facetracknoir.cpp | |
parent | e9a6c723cc80317e205b05eb9f406dff9e55a825 (diff) |
Ding!
Issue: #34
Diffstat (limited to 'facetracknoir/facetracknoir.cpp')
-rw-r--r-- | facetracknoir/facetracknoir.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp index 98c8c2c2..893e79cd 100644 --- a/facetracknoir/facetracknoir.cpp +++ b/facetracknoir/facetracknoir.cpp @@ -679,7 +679,8 @@ void FaceTrackNoIR::bindKeyboardShortcuts() void FaceTrackNoIR::shortcutRecentered() { - QApplication::beep(); + if (s.dingp) + QApplication::beep(); qDebug() << "Center"; if (tracker) @@ -688,7 +689,9 @@ void FaceTrackNoIR::shortcutRecentered() void FaceTrackNoIR::shortcutToggled() { - QApplication::beep(); + if (s.dingp) + QApplication::beep(); + qDebug() << "Toggle"; if (tracker) tracker->enabled = !tracker->enabled; |