aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp28
1 files changed, 7 insertions, 21 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b4a143b..a425e2f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,26 +1,12 @@
-#include "diagram/Structogram.hpp"
-#include "ui/Window.hpp"
-
-#include <iostream>
-#include <memory>
-
+#include "ui/mainwindow.h"
#include <QApplication>
+int main(int argc, char *argv[])
+{
+ QApplication a(argc, argv);
-using namespace samb;
-
-int main(int argc, char *argv[]) {
-
- QApplication app(argc, argv);
-
- Window window;
- window.show();
+ MainWindow w;
+ w.show();
- Structogram st("Example");
-
- return app.exec();
+ return a.exec();
}
-
-
-
-