diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-21 23:57:30 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-22 00:02:55 +0200 |
commit | fedee5430656657e4c9fff3ab21927c4323007ce (patch) | |
tree | 15f2114dc7a082a7524435dde164c933302575c6 /facetracknoir/facetracknoir.cpp | |
parent | 49bc9a8550a8ab1fd037da31260bb38d80b6da15 (diff) | |
parent | 52cb9e157db8823dc8318ce2df79fac837413e7f (diff) |
Merge libovr 0.2.5 changes!opentrack-2.0a5
- mm0zct & sthalik
Diffstat (limited to 'facetracknoir/facetracknoir.cpp')
-rw-r--r-- | facetracknoir/facetracknoir.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp index c1d4bc85..afc46625 100644 --- a/facetracknoir/facetracknoir.cpp +++ b/facetracknoir/facetracknoir.cpp @@ -102,7 +102,8 @@ FaceTrackNoIR::FaceTrackNoIR(QWidget *parent, Qt::WindowFlags flags) : pSecondTrackerDialog(NULL), pProtocolDialog(NULL), pFilterDialog(NULL), - looping(false) + looping(false), + kbd_quit(QKeySequence("Ctrl+Q"), this) { ui.setupUi(this); setFixedSize(size()); @@ -171,6 +172,9 @@ FaceTrackNoIR::FaceTrackNoIR(QWidget *parent, Qt::WindowFlags flags) : connect(&keyCenter, SIGNAL(activated()), this, SLOT(shortcutRecentered())); connect(&keyToggle, SIGNAL(activated()), this, SLOT(shortcutToggled())); #endif + + connect(&kbd_quit, SIGNAL(activated()), this, SLOT(exit())); + kbd_quit.setEnabled(true); } /** destructor stops the engine and quits the faceapi **/ |