X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fcursor.hpp;h=5df0ca2c3e4b34e176717a1175c0f6febdcec560;hb=4c8a6a6d03e2a12f67d910a83589072b478114cb;hp=8679a2866c3b986e33532b71a660abc651dba031;hpb=2acdb232d6bb452cfdfaea3ef5218fb4da592329;p=pulseview.git diff --git a/pv/view/cursor.hpp b/pv/view/cursor.hpp index 8679a286..5df0ca2c 100644 --- a/pv/view/cursor.hpp +++ b/pv/view/cursor.hpp @@ -66,10 +66,8 @@ public: * Paints the cursor's label to the ruler. * @param p The painter to draw with. * @param rect The rectangle of the ruler client area. - * @param prefix The index of the SI prefix to use. */ - void paint_label(QPainter &p, const QRect &rect, - unsigned int prefix); + void paint_label(QPainter &p, const QRect &rect); private: void compute_text_size(QPainter &p, unsigned int prefix);