comparison main/Analyser.h @ 673:90ee5448c205

Fix inconsistency between MainWindow and Analyser in the default value of the lowampsuppression option, and enforce default values in a single place. As it stood, the menu option was showing "checked" (on first run) but the parameter was actually unset until you toggled it or used the reset-to-default function.
author Chris Cannam
date Mon, 18 Nov 2019 15:07:19 +0000
parents f52766aa747b
children
comparison
equal deleted inserted replaced
672:de3d628e048e 673:90ee5448c205
119 return min == r.min && max == r.max; 119 return min == r.min && max == r.max;
120 } 120 }
121 }; 121 };
122 122
123 /** 123 /**
124 * Return the QSettings keys, and their default values, that
125 * affect analysis behaviour. These all live within the Analyser
126 * group in QSettings.
127 */
128 static std::map<QString, QVariant> getAnalysisSettings();
129
130 /**
124 * Analyse the selection and schedule asynchronous adds of 131 * Analyse the selection and schedule asynchronous adds of
125 * candidate layers for the region it contains. Returns "" on 132 * candidate layers for the region it contains. Returns "" on
126 * success or a user-readable error string on failure. If the 133 * success or a user-readable error string on failure. If the
127 * frequency range isConstrained(), analysis will be constrained 134 * frequency range isConstrained(), analysis will be constrained
128 * to that range. 135 * to that range.