Wireshark-commits: [Wireshark-commits] master-2.2 e7042d8: Qt: Export object fixups.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e7042d8af3ead1ff43b48d0a3b669c286c970cb5
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark
Commits:
e7042d8 by Gerald Combs (gerald@xxxxxxxxxxxxx):
Qt: Export object fixups.
Add eo_free_entry, which frees an export_object_entry_t.
Create ExportObjectTreeWidgetItem similar to our other custom
TreeWidgetItems. Call eo_free_entry in its destructor. This fixes a
serious memory leak.
Make the columns sortable. Fixup numeric comparisons. Use a convenience
function for file sizes.
Ping-Bug: 13174
Change-Id: Idb4eb5680afe760880ebe7d84216fcac5ccdb250
Reviewed-on: https://code.wireshark.org/review/19010
Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
Actions performed:
from 1b6606e Do *NOT* strip newlines from the standard input of sed.
adds e7042d8 Qt: Export object fixups.
Summary of changes:
ui/export_object.c | 10 ++++
ui/export_object.h | 1 +
ui/gtk/export_object_dlg.c | 8 +--
ui/qt/export_object_dialog.cpp | 128 ++++++++++++++++++++++++++++++++--------
ui/qt/export_object_dialog.h | 5 --
5 files changed, 117 insertions(+), 35 deletions(-)