summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--options/defs.hpp2
-rw-r--r--options/tie.cpp5
2 files changed, 1 insertions, 6 deletions
diff --git a/options/defs.hpp b/options/defs.hpp
index 9ea4f3b3..797a8fda 100644
--- a/options/defs.hpp
+++ b/options/defs.hpp
@@ -2,5 +2,3 @@
#define OPENTRACK_PROFILE_FILENAME_KEY "settings-filename"
#define OPENTRACK_DEFAULT_PROFILE "default.ini"
-
-
diff --git a/options/tie.cpp b/options/tie.cpp
index 0ac1c5bf..db39251b 100644
--- a/options/tie.cpp
+++ b/options/tie.cpp
@@ -38,13 +38,10 @@ void tie_setting(value<QVariant>& v, QComboBox* cb)
int idx = -1;
for (int k = 0; k < sz; k++)
- {
- if (cb->itemData(k) == var)
- {
+ if (cb->itemData(k) == var) {
idx = k;
break;
}
- }
cb->setCurrentIndex(idx);
return idx;
};