summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-07-01 18:07:27 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-07-01 18:07:27 +0200
commit15c97dd8ddeba8d0f0e80df39320e3789f3fb4b2 (patch)
treeb3395bc86c8f28cd4ecc15b2e8546bb58281aa6d
parenta67e8630caf20e7f48151024e9e68dd9271d75c7 (diff)
whitespace only
-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;
};