forked from osmocom/wireshark
Qt: Remove our idle dissection wait period.
Set our idle dissection single-shot timer to 0, i.e. whenever the Qt event loop can fit us in. This fixes a performance issue here with libsinsp and doesn't appear to cause any issues otherwise.
This commit is contained in:
parent
5db7ddb209
commit
79310ebbd2
|
@ -699,7 +699,7 @@ void PacketListModel::dissectIdle(bool reset)
|
|||
}
|
||||
|
||||
if (idle_dissection_row_ < physical_rows_.count()) {
|
||||
QTimer::singleShot(idle_dissection_interval_, this, SLOT(dissectIdle()));
|
||||
QTimer::singleShot(0, this, SLOT(dissectIdle()));
|
||||
} else {
|
||||
idle_dissection_timer_->invalidate();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue