]> sigrok.org Git - pulseview.git/blobdiff - pv/view/cursor.cpp
TimeMarker: Renamed get_label_rect, and made it take a const QRectF&
[pulseview.git] / pv / view / cursor.cpp
index 836d0e93d758fd911e371ef5383eda291ffa41c6..5f33416050d721b21af2b00835dc341259aeb391 100644 (file)
@@ -55,7 +55,7 @@ QString Cursor::get_text() const
        return pv::util::format_time(time_, view_.tick_prefix(), 2);
 }
 
-QRectF Cursor::get_label_rect(const QRect &rect) const
+QRectF Cursor::label_rect(const QRectF &rect) const
 {
        const shared_ptr<Cursor> other(get_other_cursor());
        assert(other);