diff options
author | Stijn Buys <ingar@osirion.org> | 2015-02-22 15:18:42 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2015-02-22 15:18:42 +0000 |
commit | 1e6411e7a9798d043f2c8f7bb7582ece5d5f1e9a (patch) | |
tree | 6c924e5bd789382616bae930bd3a0fe54741a368 | |
parent | eefd79572cc521e5f6a0e2ddb3135ed8de925e70 (diff) |
Fixed valgrind warnings.
-rw-r--r-- | src/ui/console.cc | 1 | ||||
-rw-r--r-- | src/ui/ui.cc | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/console.cc b/src/ui/console.cc index b683778..176b3f8 100644 --- a/src/ui/console.cc +++ b/src/ui/console.cc @@ -47,7 +47,6 @@ ConsoleBuffer::~ConsoleBuffer() Console::Console(ui::Widget *parent) : ui::Window(parent) { - set_visible(false); set_border(false); set_background(true); set_label("console"); diff --git a/src/ui/ui.cc b/src/ui/ui.cc index e3aeb31..97b633b 100644 --- a/src/ui/ui.cc +++ b/src/ui/ui.cc @@ -70,6 +70,7 @@ UI::UI() : Window(0) // intialize console ui_console = new Console(this); + ui_console->hide(); // default palette ui_palette = new Palette(); |