Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-02-18 16:37:45 +0000
committerStijn Buys <ingar@osirion.org>2012-02-18 16:37:45 +0000
commit141ad1e5ae7588906d8474dfdead5762370ce222 (patch)
treee8d7e04237a1f1392b4a02f9825b8cb24e58732f /src/mainwindow.cc
parent81466bb5001c6fc524806311c4a95d1a42da393c (diff)
Added basic map widget
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r--src/mainwindow.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index e5f8000..e0fe6b2 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -6,8 +6,7 @@
*/
#include <mainwindow.h>
-
-#include <QTextEdit>
+#include <mapwidget.h>
namespace editor
{
@@ -66,9 +65,8 @@ void MainWindow::init_menu()
void MainWindow::add_child()
{
// create a child widget
- // TODO replace QTextEdit qith the actual editor widget
- QTextEdit *child_widget = new QTextEdit();
-
+ MapWidget *child_widget = new MapWidget();
+
// add the widget to the MDI area,
// this will wrap an QMdiSubWindow around it
mainwindow_mdiarea->addSubWindow(child_widget);