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>
This commit is contained in:
Martin Kaiser 2020-04-12 20:21:39 +02:00 committed by Anders Broman
parent 7044c6101d
commit abcb95ffe2
1 changed files with 0 additions and 2 deletions

View File

@ -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();
}
}
}