From d6535aa0293fad7d03b51a6cc9c607babbd5eb34 Mon Sep 17 00:00:00 2001
From: Stanislaw Halik <sthalik@misaki.pl>
Date: Mon, 29 Apr 2013 16:25:30 +0200
Subject: Rename global settings location

---
 ftnoir_protocol_mouse/ftnoir_protocol_mouse.cpp        | 2 +-
 ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

(limited to 'ftnoir_protocol_mouse')

diff --git a/ftnoir_protocol_mouse/ftnoir_protocol_mouse.cpp b/ftnoir_protocol_mouse/ftnoir_protocol_mouse.cpp
index d5e0ac63..5dfd86b7 100644
--- a/ftnoir_protocol_mouse/ftnoir_protocol_mouse.cpp
+++ b/ftnoir_protocol_mouse/ftnoir_protocol_mouse.cpp
@@ -83,7 +83,7 @@ double y;
 // Load the current Settings from the currently 'active' INI-file.
 //
 void FTNoIR_Protocol::loadSettings() {
-	QSettings settings("Abbequerque Inc.", "FaceTrackNoIR");	// Registry settings (in HK_USER)
+	QSettings settings("opentrack");	// Registry settings (in HK_USER)
 
 	QString currentFile = settings.value ( "SettingsFile", QCoreApplication::applicationDirPath() + "/Settings/default.ini" ).toString();
 	QSettings iniFile( currentFile, QSettings::IniFormat );		// Application settings (in INI-file)
diff --git a/ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp b/ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp
index 45d5ba2e..ff55a858 100644
--- a/ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp
+++ b/ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp
@@ -170,7 +170,7 @@ void MOUSEControls::doCancel() {
 //
 void MOUSEControls::loadSettings() {
 	qDebug() << "loadSettings says: Starting ";
-	QSettings settings("Abbequerque Inc.", "FaceTrackNoIR");	// Registry settings (in HK_USER)
+	QSettings settings("opentrack");	// Registry settings (in HK_USER)
 
 	QString currentFile = settings.value ( "SettingsFile", QCoreApplication::applicationDirPath() + "/Settings/default.ini" ).toString();
 	QSettings iniFile( currentFile, QSettings::IniFormat );		// Application settings (in INI-file)
@@ -200,7 +200,7 @@ void MOUSEControls::loadSettings() {
 void MOUSEControls::save() {
 	qDebug() << "save() says: started";
 
-	QSettings settings("Abbequerque Inc.", "FaceTrackNoIR");	// Registry settings (in HK_USER)
+	QSettings settings("opentrack");	// Registry settings (in HK_USER)
 
 	QString currentFile = settings.value ( "SettingsFile", QCoreApplication::applicationDirPath() + "/Settings/default.ini" ).toString();
 	QSettings iniFile( currentFile, QSettings::IniFormat );		// Application settings (in INI-file)
-- 
cgit v1.2.3