forked from osmocom/wireshark
Qt: Remove unnecessary processEvents() call
MainWindow::captureFileReadStarted() is called inside event handlers. There isn't any actual processing after the captureFileReadStarted() is called so in most cases the code will quickly return to the event loop. In case of cf_read() callbacks, there is dedicated "slow processing" detection implemented that eventually leads to processEvent() call in update_progress_dlg(). Change-Id: Icfefa0ba7bf1bec43014e30756d0eec4078d389c Reviewed-on: https://code.wireshark.org/review/36113 Petri-Dish: Tomasz Moń <desowin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
parent
7e02165453
commit
d400dbe476
|
@ -751,8 +751,6 @@ void MainWindow::captureFileReadStarted(const QString &action) {
|
|||
showCapture();
|
||||
main_ui_->actionAnalyzeReloadLuaPlugins->setEnabled(false);
|
||||
main_ui_->wirelessTimelineWidget->captureFileReadStarted(capture_file_.capFile());
|
||||
|
||||
WiresharkApplication::processEvents();
|
||||
}
|
||||
|
||||
void MainWindow::captureFileReadFinished() {
|
||||
|
|
Loading…
Reference in New Issue