From 5c11909f4d9c0567374fead6af51a64750240d49 Mon Sep 17 00:00:00 2001 From: Dario Lombardo Date: Mon, 4 Jul 2016 22:58:41 +0200 Subject: Qt: add initializers (CID 1249475). Change-Id: Ic001c0dfab1e82c66473d6ca15633aaa57520659 Reviewed-on: https://code.wireshark.org/review/16294 Reviewed-by: Michael Mann --- ui/qt/byte_view_text.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/qt/byte_view_text.cpp b/ui/qt/byte_view_text.cpp index 993acc681a..66a897ea30 100644 --- a/ui/qt/byte_view_text.cpp +++ b/ui/qt/byte_view_text.cpp @@ -66,7 +66,11 @@ ByteViewText::ByteViewText(QWidget *parent, tvbuff_t *tvb, proto_tree *tree, QTr show_offset_(true), show_hex_(true), show_ascii_(true), - row_width_(recent.gui_bytes_view == BYTES_HEX ? 16 : 8) + row_width_(recent.gui_bytes_view == BYTES_HEX ? 16 : 8), + one_em_(0), + font_width_(0), + line_spacing_(0), + margin_(0) { QAction *action; -- cgit v1.2.3