summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/facetracknoir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir/facetracknoir.cpp')
-rw-r--r--facetracknoir/facetracknoir.cpp7
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;