]> sigrok.org Git - pulseview.git/blobdiff - pv/view/logicsignal.cpp
SigSession: Made _sr_session non-static
[pulseview.git] / pv / view / logicsignal.cpp
index e214ec78426c505d621808fb38e9e5f34dc65462..6fda499b47d1ac551431f41c48c67e983bf754c0 100644 (file)
@@ -94,7 +94,7 @@ LogicSignal::LogicSignal(
        /* Populate this channel's trigger setting with whatever we
         * find in the current session trigger, if anything. */
        _trigger_match = nullptr;
-       if ((trigger = SigSession::_sr_session->trigger()))
+       if ((trigger = _session.session()->trigger()))
                for (auto stage : trigger->stages())
                        for (auto match : stage->matches())
                                if (match->channel() == _channel)