diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2020-04-12 20:21:39 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2020-04-13 10:20:24 +0000 |
commit | abcb95ffe25accd89972b548142204309b525a47 (patch) | |
tree | 1ce2e7b6c67240408f520fb6cd2e75a84cdfc55f /ui | |
parent | 7044c6101d79292753af84eb358a6c4561dec15e (diff) |
PacketList: ignoreFrame: remove write-only variable
Like in markFrame, the integer list of selected rows is not used in
ignoreFrame. Remove it.
Change-Id: Ic2bf4b1d2d330767370a2e831e321e285cb00e91
Reviewed-on: https://code.wireshark.org/review/36805
Petri-Dish: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/packet_list.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/qt/packet_list.cpp b/ui/qt/packet_list.cpp index 2139b38ed1..aa7b197473 100644 --- a/ui/qt/packet_list.cpp +++ b/ui/qt/packet_list.cpp @@ -1595,13 +1595,11 @@ void PacketList::ignoreFrame() if (selectionModel() && selectionModel()->hasSelection()) { - QList<int> rows; foreach (QModelIndex idx, selectionModel()->selectedRows(0)) { if (idx.isValid()) { frames << idx; - rows << idx.row(); } } } |