aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2016-07-04 22:58:41 +0200
committerMichael Mann <mmann78@netscape.net>2016-07-05 12:14:44 +0000
commit5c11909f4d9c0567374fead6af51a64750240d49 (patch)
tree16c130d9a337146774a875882919204076fc4321
parent0b35075866976f79bf8b3147a77abf5c5707cecf (diff)
Qt: add initializers (CID 1249475).
Change-Id: Ic001c0dfab1e82c66473d6ca15633aaa57520659 Reviewed-on: https://code.wireshark.org/review/16294 Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r--ui/qt/byte_view_text.cpp6
1 files changed, 5 insertions, 1 deletions
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;