summaryrefslogtreecommitdiffhomepage
path: root/options/tie.cpp
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 /options/tie.cpp
parenta67e8630caf20e7f48151024e9e68dd9271d75c7 (diff)
whitespace only
Diffstat (limited to 'options/tie.cpp')
-rw-r--r--options/tie.cpp5
1 files changed, 1 insertions, 4 deletions
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;
};