From 544c4714a4e1f6b5bedf7b58d07080c5a6dee860 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sat, 5 Nov 2011 03:24:22 +0200 Subject: fixed config files access path's added code for qtsingleapplication for future also, i can't reproduce crashes --- client/main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 client/main.cpp (limited to 'client/main.cpp') diff --git a/client/main.cpp b/client/main.cpp old mode 100644 new mode 100755 index b627b15..d5a8bcc --- 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(); } -- cgit v1.2.3