summaryrefslogtreecommitdiff
path: root/client/pracro.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/pracro.cc')
-rw-r--r--client/pracro.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/pracro.cc b/client/pracro.cc
index 051fe2b..fdb0d7d 100644
--- a/client/pracro.cc
+++ b/client/pracro.cc
@@ -30,7 +30,9 @@
#include <QEvent>
#include <QStringList>
#include <QSettings>
+
#include "macro.h"
+#include "netcom.h"
#define VERSION "1.0"
@@ -136,6 +138,8 @@ int main(int argc, char *argv[])
port = settings.value("port").toInt();
settings.endGroup();
+ Global::netcom = new NetCom(host, port, user, cpr);
+
new_macro(course, macro);
//app.setQuitOnLastWindowClosed(false);
@@ -143,5 +147,7 @@ int main(int argc, char *argv[])
cleanup_macros();
+ delete Global::netcom;
+
return ret;
}