From e1756ba69dd626073e22fd0a4f4c5fda42c88829 Mon Sep 17 00:00:00 2001 From: Aleks Kissinger Date: Fri, 3 Feb 2017 16:11:29 +0100 Subject: drawing grid --- tikzit/src/main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tikzit/src/main.cpp') 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 + 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(); } -- cgit v1.2.3