diff options
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 |