aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/supported_protocols_dialog.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@zing.org>2016-04-24 14:18:44 -0700
committerGerald Combs <gerald@wireshark.org>2016-04-25 15:17:08 +0000
commit17e4998a47c72246063de98828599c4fa079a94e (patch)
treea318531311fb4931fd478a03292f6ceeda8698f9 /ui/qt/supported_protocols_dialog.cpp
parentdacdb0bde8069d7141e15505442176f28e23e49f (diff)
Qt: Speed up the Display Filter Expression dialog appearance.
Copy over and adapt SupportedProtocolsDialog::fillTree, which fills in the protocol tree after the dialog is shown processes display events while the tree is being built. Change-Id: I25082fd94c511db6a94aaed1c463ba1c1e64855c Reviewed-on: https://code.wireshark.org/review/15079 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/supported_protocols_dialog.cpp')
-rw-r--r--ui/qt/supported_protocols_dialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/supported_protocols_dialog.cpp b/ui/qt/supported_protocols_dialog.cpp
index 1bd1dc8d60..b170104e96 100644
--- a/ui/qt/supported_protocols_dialog.cpp
+++ b/ui/qt/supported_protocols_dialog.cpp
@@ -80,6 +80,7 @@ void SupportedProtocolsDialog::updateStatistics()
wsApp->processEvents(QEventLoop::ExcludeUserInputEvents | QEventLoop::ExcludeSocketNotifiers, 1);
}
+// Nearly identical to DisplayFilterExpressionDialog::fillTree.
void SupportedProtocolsDialog::fillTree()
{
void *proto_cookie;