X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fwidgets%2Fsweeptimingwidget.cpp;h=9e78cae9fbc0f7fb5aca83f430c96ad7a696363a;hp=1c1581bb7c086ae649fd2e2f753877004eb66f37;hb=efdec55aec1a137460fa362a381ed1904182bfed;hpb=8dbbc7f0b9ea59d0f0d62225772f8a56eee125f5
diff --git a/pv/widgets/sweeptimingwidget.cpp b/pv/widgets/sweeptimingwidget.cpp
index 1c1581b..9e78cae 100644
--- a/pv/widgets/sweeptimingwidget.cpp
+++ b/pv/widgets/sweeptimingwidget.cpp
@@ -14,11 +14,10 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see .
*/
-#include "sweeptimingwidget.h"
+#include "sweeptimingwidget.hpp"
#include
@@ -88,8 +87,7 @@ void SweepTimingWidget::show_list(const uint64_t *vals, size_t count)
value_type_ = List;
list_.clear();
- for (size_t i = 0; i < count; i++)
- {
+ for (size_t i = 0; i < count; i++) {
char *const s = sr_si_string_u64(vals[i], suffix_);
list_.addItem(QString::fromUtf8(s),
qVariantFromValue(vals[i]));
@@ -142,8 +140,7 @@ void SweepTimingWidget::show_125_list(uint64_t min, uint64_t max)
uint64_t SweepTimingWidget::value() const
{
- switch(value_type_)
- {
+ switch(value_type_) {
case None:
return 0;