diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2015-09-17 20:41:50 -0400 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-09-18 02:37:10 +0000 |
commit | 7e17b58d46b9bfe1c316b5b2ba25fd59144871cb (patch) | |
tree | a62bc6869de3622db08eaf2afcfb03a6f428c655 /ui/qt/progress_frame.cpp | |
parent | cf0d762d7304aa569ea25faf999c74bbe94f9023 (diff) |
When we're updating the progress bar, ask that it be updated (redrawn) too.
At least on Linux/X11 with Qt5 this appears to be necessary so the progress
bar updates more than once every 2 seconds or so (when loading a large file).
Change-Id: I7eea9c0d97d24bc14ad75f082a3531dcf1a3b6ae
Reviewed-on: https://code.wireshark.org/review/10559
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/progress_frame.cpp')
-rw-r--r-- | ui/qt/progress_frame.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qt/progress_frame.cpp b/ui/qt/progress_frame.cpp index d6cae5b425..91c8072d0c 100644 --- a/ui/qt/progress_frame.cpp +++ b/ui/qt/progress_frame.cpp @@ -90,6 +90,9 @@ update_progress_dlg(progdlg_t *dlg, gfloat percentage, const gchar *) */ WiresharkApplication::processEvents(); dlg->elapsed_timer->restart(); + + /* Redraw so the progress bar shows the update */ + dlg->progress_frame->update(); } /* |