Memory depth indicator: remove trailing zero's.

merge-requests/1/head
Teuniz 2015-11-10 10:47:33 +01:00
rodzic 753f284484
commit 9be37172fa
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -677,6 +677,8 @@ void SignalCurve::drawTopLabels(QPainter *painter)
{
convert_to_metric_suffix(str, devparms->acquirememdepth, 1);
remove_trailing_zeros(str);
strcat(str, "pts");
painter->drawText(200, 14, 85, 20, Qt::AlignCenter, str);