diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-09-17 10:32:55 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-09-17 20:25:14 +0000 |
commit | 43b77aeebf4e23d629bc45be0b10b65c8aa17ac9 (patch) | |
tree | d6ea240d543e3c83bc8ba6a37187bbb6f1af1c79 /ui/qt/progress_frame.h | |
parent | ae4d99b670c97e418e9d14417827326d912e76fb (diff) | |
download | wireshark-43b77aeebf4e23d629bc45be0b10b65c8aa17ac9.tar.gz |
Qt: Add an event processing timer.
When updating the progress dialog (which happens each time we read a
packet) the GTK+ UI processes application events every 100ms. Do the
same in the Qt UI.
Ping-Bug: 11515
Change-Id: Ic53eade05c0b82bf436c08618f28506c5fcdbc94
Reviewed-on: https://code.wireshark.org/review/10554
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 'ui/qt/progress_frame.h')
-rw-r--r-- | ui/qt/progress_frame.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/progress_frame.h b/ui/qt/progress_frame.h index 65ea72a9b7..719af1484b 100644 --- a/ui/qt/progress_frame.h +++ b/ui/qt/progress_frame.h @@ -37,12 +37,14 @@ class ProgressFrame; class ProgressFrame; class QDialogButtonBox; +class QElapsedTimer; class QGraphicsOpacityEffect; class QPropertyAnimation; // Define the structure describing a progress dialog. struct progdlg { ProgressFrame *progress_frame; // This progress frame + QElapsedTimer *elapsed_timer; // Application event processing QWidget *top_level_window; // Progress frame's main window }; |