diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2012-10-20 19:54:56 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2012-10-20 19:54:56 +0000 |
commit | b53dbea042a90e550fdc7e43c1453144510b6df1 (patch) | |
tree | 223164bfba38231813a640546a126319728a06fe /ui/qt/packet_list.cpp | |
parent | 33b064cd812d228ccc5ee1d939fb77e677018a32 (diff) |
Make data_source opqaue, add getter for tvb.
svn path=/trunk/; revision=45672
Diffstat (limited to 'ui/qt/packet_list.cpp')
-rw-r--r-- | ui/qt/packet_list.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/qt/packet_list.cpp b/ui/qt/packet_list.cpp index 84a0971608..510029907f 100644 --- a/ui/qt/packet_list.cpp +++ b/ui/qt/packet_list.cpp @@ -282,7 +282,7 @@ void PacketList::selectionChanged (const QItemSelection & selected, const QItemS if (byte_view_tab_ && cfile.edt) { GSList *src_le; - data_source *source; + struct data_source *source; // Clear out existing tabs while (byte_view_tab_->currentWidget()) { @@ -290,8 +290,8 @@ void PacketList::selectionChanged (const QItemSelection & selected, const QItemS } for (src_le = cfile.edt->pi.data_src; src_le != NULL; src_le = src_le->next) { - source = (data_source *)src_le->data; - byte_view_tab_->addTab(get_data_source_name(source), source->tvb, cfile.edt->tree, proto_tree_, cfile.current_frame->flags.encoding); + source = (struct data_source *)src_le->data; + byte_view_tab_->addTab(get_data_source_name(source), get_data_source_tvb(source), cfile.edt->tree, proto_tree_, cfile.current_frame->flags.encoding); } } |