diff options
author | Alex Borisov <b0ric.alex@gmail.com> | 2012-03-30 00:42:18 +0300 |
---|---|---|
committer | Alex Borisov <b0ric.alex@gmail.com> | 2012-03-30 00:42:18 +0300 |
commit | fcc5a8982adc2e2b8cdd9491ac458986b94cac5a (patch) | |
tree | 824c9cc98af61c3aba073f93e6f5e8850aad0c42 /client/main.cpp | |
parent | ec80c67bcfec64177910f39d31c4b20974629096 (diff) |
FIX: proxy order, speed color, client update issue
Diffstat (limited to 'client/main.cpp')
-rw-r--r-- | client/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/main.cpp b/client/main.cpp index ce83fcb..b2477cf 100644 --- a/client/main.cpp +++ b/client/main.cpp @@ -59,6 +59,12 @@ int main(int argc, char *argv[]) Logger::Error("Can't launch updater to update client app\n"); } } + else + { + QFile* newClientFile = new QFile(newClient.fileName()); + newClientFile->remove(); + delete newClientFile; + } } // check if initial config exists (config.cfg) // without it application is useless |