forked from osmocom/wireshark
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:
parent
7044c6101d
commit
abcb95ffe2
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue