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;