summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-01-04 16:00:52 +0100
committerAleks Kissinger <aleks0@gmail.com>2018-01-04 16:00:52 +0100
commit738ecbd5fad2b46836bfd6a94aeebf165ae2bbca (patch)
treedf04709807cc9ec8481a3ebc7d80ac25e5b2f457 /src/main.cpp
parent0421a96749743868554d44585050b1b3d04864d2 (diff)
relocated source code to the root
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100644
index 0000000..b676211
--- /dev/null
+++ b/src/main.cpp
@@ -0,0 +1,14 @@
+#include "tikzit.h"
+
+#include <QApplication>
+#include <QMenuBar>
+
+
+int main(int argc, char *argv[])
+{
+ QApplication a(argc, argv);
+ a.setQuitOnLastWindowClosed(false);
+ tikzit = new Tikzit();
+
+ return a.exec();
+}