summaryrefslogtreecommitdiff
path: root/src/powerlist.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-08-19 10:23:49 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-08-19 10:23:49 +0200
commit8205b1cb55e41085f8d044839964dcbcf7d0ae9c (patch)
tree0b49276f9c91ac90fa0b5d2d5e2652cbecb14d6d /src/powerlist.cc
parentff36b44d2182fc51be7bd4c1e06a29b0b403fd89 (diff)
Move sample lookup retry count to Settings.
Diffstat (limited to 'src/powerlist.cc')
-rw-r--r--src/powerlist.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/powerlist.cc b/src/powerlist.cc
index 56962d7..67dae2f 100644
--- a/src/powerlist.cc
+++ b/src/powerlist.cc
@@ -215,7 +215,7 @@ Sample* PowerList::get(level_t level)
return nullptr; // No samples to choose from.
}
- int retry = 3; // TODO: This must be user controllable via the UI.
+ int retry = settings.sample_selection_retry_count.load();
Sample* sample{nullptr};