diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-02-18 12:48:16 +0100 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-03-27 11:54:13 +0100 |
commit | 5409404d7585d45b5d4a7142171f138c213e6e19 (patch) | |
tree | e04848a16e77aee270cd7bd5fe1c12f825860aac /src/qt/forms | |
parent | 77eaa6fc45ba7cda90ca7c1ed2374e488a553d2e (diff) |
add constant for shared (GUI/core) -par settings
- introduce DEFAULT_SCRIPTCHECK_THREADS in main.h
- only show values from -"MAX_HW_THREADS" up to 16 for -par, as it
makes no sense to try to leave more "cores free" than the system
supports anyway
- use the new constant in optionsdialog and remove defaults from
.ui file
Diffstat (limited to 'src/qt/forms')
-rw-r--r-- | src/qt/forms/optionsdialog.ui | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/qt/forms/optionsdialog.ui b/src/qt/forms/optionsdialog.ui index 36b070f1c8..9fbc865185 100644 --- a/src/qt/forms/optionsdialog.ui +++ b/src/qt/forms/optionsdialog.ui @@ -98,13 +98,7 @@ <item> <widget class="QSpinBox" name="threadsScriptVerif"> <property name="toolTip"> - <string>Set the number of script verification threads (up to 16, 0 = auto, <0 = leave that many cores free, default: 0)</string> - </property> - <property name="minimum"> - <number>-16</number> - </property> - <property name="maximum"> - <number>16</number> + <string>(0 = auto, <0 = leave that many cores free)</string> </property> </widget> </item> |