From: Uwe Hermann Date: Tue, 6 Jun 2017 09:57:35 +0000 (+0200) Subject: Drop some trailing whitespace. X-Git-Tag: pulseview-0.4.0~30 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=bb19aac49414cc772a2a1e52730cbb2ca24b425c;p=pulseview.git Drop some trailing whitespace. --- diff --git a/pv/binding/inputoutput.cpp b/pv/binding/inputoutput.cpp index df9d3799..9d2299af 100644 --- a/pv/binding/inputoutput.cpp +++ b/pv/binding/inputoutput.cpp @@ -70,7 +70,7 @@ InputOutput::InputOutput( const vector values = opt->values(); options_[opt->id()] = def_val; - + const Property::Getter get = [&, opt]() { return options_[opt->id()]; }; const Property::Setter set = [&, opt](VariantBase value) { diff --git a/pv/widgets/colourbutton.cpp b/pv/widgets/colourbutton.cpp index ce2ab2a9..01a22b67 100644 --- a/pv/widgets/colourbutton.cpp +++ b/pv/widgets/colourbutton.cpp @@ -61,7 +61,7 @@ void ColourButton::set_colour(QColor colour) popup_.well_array().setSelected(r, c); popup_.well_array().setCurrent(r, c); return; - } + } } void ColourButton::set_palette(const QColor *const palette) diff --git a/pv/widgets/popup.cpp b/pv/widgets/popup.cpp index f1486e00..13282cda 100644 --- a/pv/widgets/popup.cpp +++ b/pv/widgets/popup.cpp @@ -140,7 +140,7 @@ QPolygon Popup::arrow_polygon() const QPolygon poly; const QPoint p = mapFromGlobal(point_); - const int l = ArrowLength + ArrowOverlap; + const int l = ArrowLength + ArrowOverlap; switch (pos_) { case Right: diff --git a/test/data/logicsegment.cpp b/test/data/logicsegment.cpp index 848cc5a5..b5cf0ba4 100644 --- a/test/data/logicsegment.cpp +++ b/test/data/logicsegment.cpp @@ -422,7 +422,7 @@ BOOST_AUTO_TEST_CASE(LongPulses) BOOST_CHECK_EQUAL(edges[0].second, true); BOOST_CHECK_EQUAL(edges[1].first, 16); BOOST_CHECK_EQUAL(edges[1].second, false); - + for (int i = 1; i < Cycles; i++) { BOOST_CHECK_EQUAL(edges[i+1].first, i * Period); BOOST_CHECK_EQUAL(edges[i+1].second, false);