X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Ftimemarker.cpp;h=2b17184408a4ba8a5fb5f44f03320d832afdca8f;hb=6abffa979b89440af383cf1142648e34dcbdfc44;hp=4b8d2b527a5992dc43c4e58f15c68d02dcf0312d;hpb=09d5df110bc035256dcd8287094fe1a3b8e67466;p=pulseview.git diff --git a/pv/view/timemarker.cpp b/pv/view/timemarker.cpp index 4b8d2b5..2b17184 100644 --- a/pv/view/timemarker.cpp +++ b/pv/view/timemarker.cpp @@ -40,7 +40,6 @@ namespace pv { namespace view { const int TimeMarker::ArrowSize = 4; -const int TimeMarker::Offset = 1; TimeMarker::TimeMarker(View &view, const QColor &colour, double time) : TimeItem(view), @@ -93,7 +92,7 @@ QRectF TimeMarker::label_rect(const QRectF &rect) const text_width + View::LabelPadding.width() * 2, text_height + View::LabelPadding.height() * 2); const float top = rect.height() - label_size.height() - - TimeMarker::Offset - TimeMarker::ArrowSize - 0.5f; + TimeMarker::ArrowSize - 0.5f; const float height = label_size.height(); return QRectF(x - label_size.width() / 2, top,