diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2017-02-03 16:11:29 +0100 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2017-02-03 16:11:29 +0100 |
commit | e1756ba69dd626073e22fd0a4f4c5fda42c88829 (patch) | |
tree | d79f72a648f89ca9201681b4c5443fceeb8faad9 /tikzit/src/main.cpp | |
parent | b392859bb192a2e02aec09f2eacf5ecdf44fdfe4 (diff) |
drawing grid
Diffstat (limited to 'tikzit/src/main.cpp')
-rw-r--r-- | tikzit/src/main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tikzit/src/main.cpp b/tikzit/src/main.cpp index 0de5fd8..e004529 100644 --- a/tikzit/src/main.cpp +++ b/tikzit/src/main.cpp @@ -6,11 +6,10 @@ #include <QApplication> + int main(int argc, char *argv[]) { QApplication a(argc, argv); - MainWindow *w = new MainWindow(); - w->show(); ToolPalette *tp = new ToolPalette(new QMainWindow()); tp->show(); @@ -19,5 +18,8 @@ int main(int argc, char *argv[]) PropertyPalette *pp = new PropertyPalette; pp->show(); + MainWindow *w = new MainWindow(); + w->show(); + return a.exec(); } |