diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-08-12 10:49:34 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-08-12 19:27:34 +0000 |
commit | 412f5b3716bce91d1b26a82012e5c28a611d91da (patch) | |
tree | 30f8515ced972bbfe35f156d9c417557e0daf9b4 /ui/qt/expert_info_dialog.ui | |
parent | bde416afcc6233225ab990390361bad67de45463 (diff) |
Expert information dialog performance improvements.
Inserting QTreeWidgetItems individually is slow. This isn't a problem if
you only have a few items but the Expert Information dialog can have
thousands. Add "packet" tree items in groups, which should be much
faster. Note that we still add "group" tree items individually since
that gives us a nice progress indicator.
While we're here, make sure we show the dialog before tapping packets.
Bug: 11439
Change-Id: I8a182f4158d078cae5f42b8d1355414197f423e1
Reviewed-on: https://code.wireshark.org/review/10000
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/expert_info_dialog.ui')
-rw-r--r-- | ui/qt/expert_info_dialog.ui | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qt/expert_info_dialog.ui b/ui/qt/expert_info_dialog.ui index 689b64faac..e47543c7ae 100644 --- a/ui/qt/expert_info_dialog.ui +++ b/ui/qt/expert_info_dialog.ui @@ -16,6 +16,9 @@ <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QTreeWidget" name="expertInfoTreeWidget"> + <property name="uniformRowHeights"> + <bool>true</bool> + </property> <property name="sortingEnabled"> <bool>true</bool> </property> |