X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fpopups%2Fchannels.cpp;h=89080c4fc45426fd5ccaf6b8d2abe8467be9ddad;hb=634ecdcdad8c19ec27c879d3eae74c4d65030511;hp=f8f94d1a4273534d09fbf9a2bb6766db518810c7;hpb=73a25a6e488f1813c1cd12da085a16e4f91ed4da;p=pulseview.git diff --git a/pv/popups/channels.cpp b/pv/popups/channels.cpp index f8f94d1a..89080c4f 100644 --- a/pv/popups/channels.cpp +++ b/pv/popups/channels.cpp @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #include @@ -82,8 +81,8 @@ Channels::Channels(Session &session, QWidget *parent) : map, shared_ptr > signal_map; unordered_set< shared_ptr > sigs; - for (const shared_ptr s : session_.signals()) - sigs.insert(s->base()); + for (const shared_ptr b : session_.signalbases()) + sigs.insert(b); for (const shared_ptr &sig : sigs) signal_map[sig->channel()] = sig;