diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-11-10 10:12:56 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-11-11 05:28:10 +0000 |
commit | 757fe65474a37d94e7eba1b6b4bb6df23b69ba56 (patch) | |
tree | cce4a05729720c2903b06cfe6abd3b30b1d456a8 /wiretap/wtap.h | |
parent | 8930b0d5e0e5827f7cd72b9cb765e09bad0c3765 (diff) |
Qt: Freeze+thaw the main window during nested operations.
As noted in main_window.cpp:
// Our event loop becomes nested whenever we call update_progress_dlg, which
// includes several places in file.c. The GTK+ UI stays out of trouble by
// showing a modal progress dialog. We attempt to do the equivalent below by
// disabling parts of the main window. At a minumum the ProgressFrame in the
// main status bar must remain accessible.
Move the freeze+thaw code from captureFileRetapStarted and
captureFileRetapFinished to its own set of member functions. Call them
when we {,un}mark and {,un}ignore packets and note that we should
probably call them elsewhere. Disable mark and ignore actions when we
freeze and restore their states when we thaw.
Bug: 11681
Change-Id: I6f015f7f5f6c98cd48ace2c87f43f48efe51a88b
Reviewed-on: https://code.wireshark.org/review/11690
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'wiretap/wtap.h')
0 files changed, 0 insertions, 0 deletions