From: Joel Holdsworth Date: Sat, 13 Oct 2012 21:18:29 +0000 (+0100) Subject: Removed unused return value from LogicSignal::paint_caps X-Git-Tag: pulseview-0.1.0~250 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=f4270878df362f5797c8d73591c67882cdd52b4c;p=pulseview.git Removed unused return value from LogicSignal::paint_caps --- diff --git a/pv/logicsignal.cpp b/pv/logicsignal.cpp index 912edf46..28d71d3c 100644 --- a/pv/logicsignal.cpp +++ b/pv/logicsignal.cpp @@ -125,7 +125,7 @@ void LogicSignal::paint(QPainter &p, const QRect &rect, double scale, delete[] cap_lines; } -int LogicSignal::paint_caps(QPainter &p, QLineF *const lines, +void LogicSignal::paint_caps(QPainter &p, QLineF *const lines, vector< pair > &edges, bool level, double samples_per_pixel, double pixels_offset, int x_offset, int y_offset) diff --git a/pv/logicsignal.h b/pv/logicsignal.h index e12f0ca4..42acee83 100644 --- a/pv/logicsignal.h +++ b/pv/logicsignal.h @@ -55,7 +55,7 @@ public: private: - int paint_caps(QPainter &p, QLineF *const lines, + void paint_caps(QPainter &p, QLineF *const lines, std::vector< std::pair > &edges, bool level, double samples_per_pixel, double pixels_offset, int x_offset, int y_offset);