diff options
author | Nao Pross <naopross@thearcway.org> | 2017-12-18 00:00:21 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2017-12-18 00:00:21 +0100 |
commit | 2e27a93e3ed189b4d96ec7df6e05b102dd2e841a (patch) | |
tree | 6952edd5db3b4075532c4ce75bda764d5a67051b /src/main.cpp | |
parent | Update .gitignore and minor changes (mostly formatting) (diff) | |
download | OrbitingYeti-2e27a93e3ed189b4d96ec7df6e05b102dd2e841a.tar.gz OrbitingYeti-2e27a93e3ed189b4d96ec7df6e05b102dd2e841a.zip |
Replace tabs with spaces, set up CMake build system
Other changes:
- update gitignore
- build scripts under `etc`
- fix window
Diffstat (limited to '')
-rw-r--r-- | src/main.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 83bba4c..b4a143b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,16 +1,24 @@ #include "diagram/Structogram.hpp" +#include "ui/Window.hpp" #include <iostream> #include <memory> +#include <QApplication> + using namespace samb; int main(int argc, char *argv[]) { - Structogram st("Example"); + QApplication app(argc, argv); + + Window window; + window.show(); + + Structogram st("Example"); - return 0; + return app.exec(); } |