| 157 | } |
| 158 | |
| 159 | void Cursor::compute_text_size(QPainter &p, unsigned int prefix) |
| 160 | { |
| 161 | (void)prefix; |
| 162 | _text_size = p.boundingRect(QRect(), 0, |
| 163 | Ruler::format_real_time(_index, _view.session().cur_snap_samplerate())).size(); |
| 164 | } |
| 165 | |
| 166 | } // namespace view |
| 167 | } // namespace pv |
nothing calls this directly
no test coverage detected