diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2012-12-08 10:01:20 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2012-12-08 10:01:20 +0000 |
commit | 9fdac8789acda4989a094a8ed8c9a19cdc29f7f6 (patch) | |
tree | 312ba59534193883e07f87bce3ab856caf1f679e /FaceTrackNoIR/FaceTrackNoIR.cpp | |
parent | acdb0aaf27e2ca623a9e32ea7efcc484aecde498 (diff) |
Modified main form a bit
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@197 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/FaceTrackNoIR.cpp')
-rw-r--r-- | FaceTrackNoIR/FaceTrackNoIR.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/FaceTrackNoIR/FaceTrackNoIR.cpp b/FaceTrackNoIR/FaceTrackNoIR.cpp index ebe75265..5494c918 100644 --- a/FaceTrackNoIR/FaceTrackNoIR.cpp +++ b/FaceTrackNoIR/FaceTrackNoIR.cpp @@ -123,6 +123,7 @@ void FaceTrackNoIR::setupFaceTrackNoIR() { connect(ui.actionKeyboard_Shortcuts, SIGNAL(triggered()), this, SLOT(showKeyboardShortcuts()));
connect(ui.actionCurve_Configuration, SIGNAL(triggered()), this, SLOT(showCurveConfiguration()));
connect(ui.btnEditCurves, SIGNAL(clicked()), this, SLOT(showCurveConfiguration()));
+ connect(ui.btnShortcuts, SIGNAL(clicked()), this, SLOT(showKeyboardShortcuts()));
connect(ui.actionSupport, SIGNAL(triggered()), this, SLOT(openurl_support()));
connect(ui.actionYour_Support, SIGNAL(triggered()), this, SLOT(openurl_donation()));
@@ -1914,7 +1915,7 @@ int keyindex; // Center key
ui.cbxCenterMouseKey->setCurrentIndex( iniFile.value ( "MouseKey_Center", 0 ).toInt() );
- keyindex = keyList.indexOf ( iniFile.value ( "Keycode_Center", 1 ).toInt() );
+ keyindex = keyList.indexOf ( iniFile.value ( "Keycode_Center", DIK_HOME ).toInt() );
if ( keyindex > 0 ) {
ui.cbxCenterKey->setCurrentIndex( keyindex );
}
@@ -1940,7 +1941,7 @@ int keyindex; // Start/stop key
ui.cbxStartStopMouseKey->setCurrentIndex( iniFile.value ( "MouseKey_StartStop", 0 ).toInt() );
- keyindex = keyList.indexOf ( iniFile.value ( "Keycode_StartStop", 1 ).toInt() );
+ keyindex = keyList.indexOf ( iniFile.value ( "Keycode_StartStop", DIK_END ).toInt() );
if ( keyindex > 0 ) {
ui.cbxStartStopKey->setCurrentIndex( keyindex );
}
|