]> sigrok.org Git - pulseview.git/commitdiff
DecodeTrace: Removed set_view
authorJoel Holdsworth <redacted>
Sun, 24 Aug 2014 20:58:54 +0000 (21:58 +0100)
committerJoel Holdsworth <redacted>
Wed, 19 Nov 2014 10:23:01 +0000 (10:23 +0000)
pv/view/decodetrace.cpp
pv/view/decodetrace.h
pv/view/trace.h

index cb455c5ae3c5246f7111f5fc455032e979688002..2773297197fa304e9561e6bb0ab009b9421a378f 100644 (file)
@@ -150,12 +150,6 @@ const std::shared_ptr<pv::data::DecoderStack>& DecodeTrace::decoder() const
        return _decoder_stack;
 }
 
-void DecodeTrace::set_view(pv::view::View *view)
-{
-       assert(view);
-       Trace::set_view(view);
-}
-
 void DecodeTrace::paint_back(QPainter &p, int left, int right)
 {
        Trace::paint_back(p, left, right);
index 52e41fc0023e951722c9c9cb15f192b319a43fea..ab495fa06f156ff5763d2896db2a215c0a8e1202 100644 (file)
@@ -90,8 +90,6 @@ public:
 
        const std::shared_ptr<pv::data::DecoderStack>& decoder() const;
 
-       void set_view(pv::view::View *view);
-
        /**
         * Paints the background layer of the trace with a QPainter
         * @param p the QPainter to paint into.
index 0202a4e5770ef5e39c33060d38e64e5853bd9596..c6c92e2d619d1a24572602b81a5f4594c888a6ea 100644 (file)
@@ -85,7 +85,7 @@ public:
         */
        virtual bool enabled() const = 0;
 
-       virtual void set_view(pv::view::View *view);
+       void set_view(pv::view::View *view);
 
        /**
         * Paints the background layer of the trace with a QPainter