From fcc5a8982adc2e2b8cdd9491ac458986b94cac5a Mon Sep 17 00:00:00 2001 From: Alex Borisov Date: Fri, 30 Mar 2012 00:42:18 +0300 Subject: FIX: proxy order, speed color, client update issue --- client/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'client/main.cpp') 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 -- cgit v1.2.3