From 999bbe744314ff4616271ce61a5bb57cf331e2bc Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Wed, 9 Aug 2017 21:27:17 +0200 Subject: Make sure to initialize fields in UI --- src/gui_gtk.cc | 3 ++- src/gui_qt.cc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gui_gtk.cc b/src/gui_gtk.cc index 9b6addc..6913921 100644 --- a/src/gui_gtk.cc +++ b/src/gui_gtk.cc @@ -591,7 +591,8 @@ class GtkGuiMain : public virtual GuiMain, public GtkGuiWindow { public: GtkGuiMain(std::string const& title, uint32_t width, uint32_t height) : title_(title), width_(width), height_(height), split_(0.5), - config_(new GtkConfig()), menu_(nullptr), statusbar_(nullptr) { + content_(nullptr), config_(new GtkConfig()), menu_(nullptr), + statusbar_(nullptr) { } Looper* create_looper() override; diff --git a/src/gui_qt.cc b/src/gui_qt.cc index 9041006..4ad04e8 100644 --- a/src/gui_qt.cc +++ b/src/gui_qt.cc @@ -456,7 +456,8 @@ public: QtGuiMain(std::string const& title, uint32_t width, uint32_t height) : title_(title), width_(width), height_(height), split_(0.7), menu_(nullptr), statusbar_(nullptr), config_(new QtGuiConfig()), - splitter_(nullptr), top_(nullptr), bottom_(nullptr), started_(false) { + splitter_(nullptr), top_(nullptr), bottom_package_(nullptr), + bottom_content_(nullptr), bottom_(nullptr), started_(false) { } Looper* create_looper() override; -- cgit v1.2.3-70-g09d2