summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-27 13:17:00 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-27 13:17:00 +0200
commit18f0c6cb3192dd996d6b5dd0e61dc6294fd92b45 (patch)
treeb802c37652ce1f142d0b635ccaa1a5c3cea88d85 /facetracknoir
parent6989e7f59032043a91667532fe5c4cdd42065b0e (diff)
Fix typo, not reading past the end of array as result
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/tracker.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp
index 7320abaf..f8bc378e 100644
--- a/facetracknoir/tracker.cpp
+++ b/facetracknoir/tracker.cpp
@@ -311,8 +311,6 @@ void Tracker::loadSettings() {
qDebug() << "loadSettings says: iniFile = " << currentFile;
- iniFile.beginGroup ( "Tracking" );
- iniFile.endGroup ();
iniFile.beginGroup ( "KB_Shortcuts" );
// Reverse Axis
useAxisReverse = iniFile.value ( "Enable_ReverseAxis", 0 ).toBool();
@@ -323,10 +321,10 @@ void Tracker::loadSettings() {
static const char* names[] = {
"Inhibit_X",
"Inhibit_Y",
- "Inhibit_Z"
+ "Inhibit_Z",
"Inhibit_Yaw",
"Inhibit_Pitch",
- "Inhibit_Roll",
+ "Inhibit_Roll"
};
for (int i = 0; i < 6; i++)