summaryrefslogtreecommitdiff
path: root/client/main.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-09-04 12:29:59 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-09-04 12:29:59 +0300
commit6d8b331a37a025f4a16d8278da715e7a628b33d3 (patch)
tree11b7880b2afe9575f99a0a9eeb2ba97b8e6c88b9 /client/main.cpp
parent1052c8bd510b92827a61aba725083c9feb24e042 (diff)
parentad1559db52cf01869c0fb31252ad9f69af2ddd4c (diff)
Merge branch 'master' of ssh://sss.chaoslab.ru//home/git/proxy_ui
Diffstat (limited to 'client/main.cpp')
-rw-r--r--client/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/main.cpp b/client/main.cpp
index 0d0e1db..badd31c 100644
--- a/client/main.cpp
+++ b/client/main.cpp
@@ -74,6 +74,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