X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Ftimemarker.cpp;h=47ba34559a1dd15fa45fc2ff4d979d6a23f17dab;hp=2b17184408a4ba8a5fb5f44f03320d832afdca8f;hb=ec39632d1267a42cb858ac6ad7c98486886a46a0;hpb=6abffa979b89440af383cf1142648e34dcbdfc44 diff --git a/pv/view/timemarker.cpp b/pv/view/timemarker.cpp index 2b171844..47ba3455 100644 --- a/pv/view/timemarker.cpp +++ b/pv/view/timemarker.cpp @@ -89,8 +89,8 @@ QRectF TimeMarker::label_rect(const QRectF &rect) const const float text_height = m.height(); const QSizeF label_size( - text_width + View::LabelPadding.width() * 2, - text_height + View::LabelPadding.height() * 2); + text_width + LabelPadding.width() * 2, + text_height + LabelPadding.height() * 2); const float top = rect.height() - label_size.height() - TimeMarker::ArrowSize - 0.5f; const float height = label_size.height();