summaryrefslogtreecommitdiffhomepage
path: root/qfunctionconfigurator/functionconfig.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-15 03:44:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-15 03:44:46 +0200
commite1cf876626aad4cbed2db96f30867c8e11af340e (patch)
tree06603562438276f37e7bfc6243bc0791d37b8f87 /qfunctionconfigurator/functionconfig.h
parent51fb3e42f915c3b538c423cfb9e5dfae11778717 (diff)
Fix MSVC build. Also, minor reformat
Diffstat (limited to 'qfunctionconfigurator/functionconfig.h')
-rw-r--r--qfunctionconfigurator/functionconfig.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/qfunctionconfigurator/functionconfig.h b/qfunctionconfigurator/functionconfig.h
index 21e9e43e..f1310a8c 100644
--- a/qfunctionconfigurator/functionconfig.h
+++ b/qfunctionconfigurator/functionconfig.h
@@ -6,6 +6,8 @@
* notice appear in all copies.
*/
+#pragma once
+
#include <QList>
#include <QPointF>
#include <QString>
@@ -13,9 +15,6 @@
#include <QMutex>
#include "ftnoir_tracker_base/ftnoir_tracker_base.h"
-#ifndef FUNCTION_CONFIG_H
-#define FUNCTION_CONFIG_H
-
#define MEMOIZE_PRECISION 500
class FTNOIR_TRACKER_BASE_EXPORT FunctionConfig {
@@ -69,10 +68,6 @@ public:
void saveSettings(QSettings& settings);
void loadSettings(QSettings& settings);
- void setTrackingActive(bool blnActive) {
- _tracking_active = blnActive;
- }
+ void setTrackingActive(bool blnActive);
QString getTitle() { return _title; }
};
-
-#endif