Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2015-02-22 15:18:42 +0000
committerStijn Buys <ingar@osirion.org>2015-02-22 15:18:42 +0000
commit1e6411e7a9798d043f2c8f7bb7582ece5d5f1e9a (patch)
tree6c924e5bd789382616bae930bd3a0fe54741a368 /src/ui
parenteefd79572cc521e5f6a0e2ddb3135ed8de925e70 (diff)
Fixed valgrind warnings.
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/console.cc1
-rw-r--r--src/ui/ui.cc1
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();