Update proxguiqt.cpp
Removed comment test sprintf
This commit is contained in:
committed by
Philippe Teuwen
parent
3286bdaad2
commit
702e9b774e
@@ -490,8 +490,6 @@ void Plot::PlotGraph(int *buffer, size_t len, QRect plotRect, QRect annotationRe
|
|||||||
//Graph annotations
|
//Graph annotations
|
||||||
painter->drawPath(penPath);
|
painter->drawPath(penPath);
|
||||||
char str[200];
|
char str[200];
|
||||||
// sprintf(str, "max=%d min=%d mean=%llu n=%u/%zu CursorAVal=[%d] CursorBVal=[%d]",
|
|
||||||
// vMax, vMin, vMean, GraphStop - GraphStart, len, buffer[CursorAPos], buffer[CursorBPos]);
|
|
||||||
sprintf(str, "max=%d min=%d mean=%" PRId64 " n=%u/%zu CursorAVal=[%d] CursorBVal=[%d]",
|
sprintf(str, "max=%d min=%d mean=%" PRId64 " n=%u/%zu CursorAVal=[%d] CursorBVal=[%d]",
|
||||||
vMax, vMin, vMean, GraphStop - GraphStart, len, buffer[CursorAPos], buffer[CursorBPos]);
|
vMax, vMin, vMean, GraphStop - GraphStart, len, buffer[CursorAPos], buffer[CursorBPos]);
|
||||||
painter->drawText(20, annotationRect.bottom() - 23 - 20 * graphNum, str);
|
painter->drawText(20, annotationRect.bottom() - 23 - 20 * graphNum, str);
|
||||||
|
|||||||
Reference in New Issue
Block a user