forked from osmocom/wireshark
Qt: Remove duplicate column reset and cache invalidation
The filterPackets method calls file.c/cf_filter_packets, which calls rescan_packets, which sends signals when done that eventually calls the PacketList::captureFileReadFinished PacketList::captureFileReadFinished invalidates all the column strings after the rescan may have updated their information (e.g., delta time to previous displayed packet), so it is not necessary to reset the column strings a second time explicitly in filterPackets. Commit38cde83a5c
added the reset to filterPackets, but commitbbe5fc1028
added the invalidateAllColumnStrings to captureFileReadFinished that made the prior commit unnecessary.
This commit is contained in:
parent
da3a48f820
commit
0c24b0ae72
|
@ -288,9 +288,6 @@ void LograyMainWindow::filterPackets(QString new_filter, bool force)
|
|||
} else {
|
||||
emit displayFilterSuccess(false);
|
||||
}
|
||||
if (packet_list_) {
|
||||
packet_list_->resetColumns();
|
||||
}
|
||||
}
|
||||
|
||||
void LograyMainWindow::layoutToolbars()
|
||||
|
|
|
@ -314,9 +314,6 @@ void WiresharkMainWindow::filterPackets(QString new_filter, bool force)
|
|||
} else {
|
||||
emit displayFilterSuccess(false);
|
||||
}
|
||||
if (packet_list_) {
|
||||
packet_list_->resetColumns();
|
||||
}
|
||||
}
|
||||
|
||||
void WiresharkMainWindow::layoutToolbars()
|
||||
|
|
Loading…
Reference in New Issue