X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fsignalscalehandle.cpp;h=20a4cad427338ab92bb9ce36b663954155a746c2;hp=a4c2b4199c3d3e109a6f949750b69443c574e074;hb=33094993339188a3baef302fb09eff6bf6bb6779;hpb=725568aca067f8024c6567a10973cd119483a5bd diff --git a/pv/view/signalscalehandle.cpp b/pv/view/signalscalehandle.cpp index a4c2b419..20a4cad4 100644 --- a/pv/view/signalscalehandle.cpp +++ b/pv/view/signalscalehandle.cpp @@ -14,8 +14,7 @@ * 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 @@ -30,7 +29,8 @@ using std::max; using std::min; namespace pv { -namespace view { +namespace views { +namespace TraceView { SignalScaleHandle::SignalScaleHandle(Signal &owner) : owner_(owner) @@ -79,7 +79,7 @@ QRectF SignalScaleHandle::hit_box_rect(const ViewItemPaintParams &pp) const text_height, text_height); } -void SignalScaleHandle::paint_fore(QPainter &p, const ViewItemPaintParams &pp) +void SignalScaleHandle::paint_fore(QPainter &p, ViewItemPaintParams &pp) { if (!enabled()) return; @@ -103,5 +103,6 @@ void SignalScaleHandle::paint_fore(QPainter &p, const ViewItemPaintParams &pp) p.drawEllipse(r); } -} // view -} // pv +} // namespace TraceView +} // namespace views +} // namespace pv