diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-08-09 21:27:17 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-08-09 21:27:17 +0200 |
| commit | 999bbe744314ff4616271ce61a5bb57cf331e2bc (patch) | |
| tree | 3f7020fb9124f4bb15b26611d1536407a8e924a2 | |
| parent | 32ea52d76984f93282f36aa445b2e0f70096538b (diff) | |
Make sure to initialize fields in UI
| -rw-r--r-- | src/gui_gtk.cc | 3 | ||||
| -rw-r--r-- | src/gui_qt.cc | 3 |
2 files changed, 4 insertions, 2 deletions
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; |
