summaryrefslogtreecommitdiff
path: root/client/main.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2011-11-05 03:24:22 +0200
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2011-11-05 03:24:22 +0200
commit544c4714a4e1f6b5bedf7b58d07080c5a6dee860 (patch)
tree022be2f29c03725cb3b097e928c2ac6a9d555bc0 /client/main.cpp
parent5300c9dd1261a7f4ff8bf5a83608470e4953dd0f (diff)
fixed config files access path's
added code for qtsingleapplication for future also, i can't reproduce crashes
Diffstat (limited to 'client/main.cpp')
-rwxr-xr-x[-rw-r--r--]client/main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/client/main.cpp b/client/main.cpp
index b627b15..d5a8bcc 100644..100755
--- a/client/main.cpp
+++ b/client/main.cpp
@@ -3,9 +3,11 @@
#include "client.h"
#include "Dialog.h"
+ProxyClientApp *this_app;
+
int main(int argc, char *argv[])
{
Logger::Info("Starting client application\n");
- ProxyClientApp app(argc, argv);
- return app.exec();
+ this_app = new ProxyClientApp(argc, argv);
+ return this_app->exec();
}