]> sigrok.org Git - pulseview.git/commitdiff
Removed unused return value from LogicSignal::paint_caps
authorJoel Holdsworth <redacted>
Sat, 13 Oct 2012 21:18:29 +0000 (22:18 +0100)
committerJoel Holdsworth <redacted>
Sat, 20 Oct 2012 17:29:25 +0000 (18:29 +0100)
pv/logicsignal.cpp
pv/logicsignal.h

index 912edf468389b96eeb6bb31c2df9ec0af1eeafe0..28d71d3cbc5070b853842bec03b81d70c23dafa2 100644 (file)
@@ -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<int64_t, bool> > &edges, bool level,
        double samples_per_pixel, double pixels_offset, int x_offset,
        int y_offset)
index e12f0ca404d4dd0c0c38ef8c72aec0e94179b979..42acee8314685ae39fda03f01f53f84feee45e03 100644 (file)
@@ -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<int64_t, bool> > &edges,
                bool level, double samples_per_pixel, double pixels_offset,
                int x_offset, int y_offset);