summaryrefslogtreecommitdiff
path: root/utils/wpseditor/gui/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/wpseditor/gui/src/main.cpp')
-rw-r--r--utils/wpseditor/gui/src/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/utils/wpseditor/gui/src/main.cpp b/utils/wpseditor/gui/src/main.cpp
new file mode 100644
index 0000000..0ba22c9
--- /dev/null
+++ b/utils/wpseditor/gui/src/main.cpp
@@ -0,0 +1,16 @@
+#include <QApplication>
+#include "qwpseditorwindow.h"
+#include "utils.h"
+#include <QPointer>
+
+QPointer<QWpsEditorWindow> win;
+
+int main(int argc, char ** argv) {
+ QApplication app( argc, argv );
+
+ win = new QWpsEditorWindow;
+ win->show();
+ app.connect( &app, SIGNAL( lastWindowClosed() ), &app, SLOT( quit() ) );
+
+ return app.exec();
+}