Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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);