Commit 6c640b2a9c05cacf2aa5120c4987235565b65169
Exists in
master
Merge branch 'master' of https://github.com/lightbase/cacic-agente
Showing
2 changed files
with
7 additions
and
1 deletions
Show diff stats
install-cacic/installcacic.cpp
| ... | ... | @@ -7,6 +7,11 @@ InstallCacic::InstallCacic(QObject *parent) : |
| 7 | 7 | logManager->addDestination("./log.txt","Install",QLogger::DebugLevel); |
| 8 | 8 | } |
| 9 | 9 | |
| 10 | +InstallCacic::~InstallCacic() | |
| 11 | +{ | |
| 12 | + logManager->closeLogger(); | |
| 13 | +} | |
| 14 | + | |
| 10 | 15 | void InstallCacic::run(QStringList argv, int argc) { |
| 11 | 16 | |
| 12 | 17 | QLogger::QLog_Debug("Install", "Inicio de instalacao"); |
| ... | ... | @@ -65,7 +70,7 @@ void InstallCacic::run(QStringList argv, int argc) { |
| 65 | 70 | << " [-help] Lista todos comandos.\n"; |
| 66 | 71 | } |
| 67 | 72 | |
| 68 | - logManager->closeLogger(); | |
| 73 | + | |
| 69 | 74 | emit finished(); |
| 70 | 75 | } |
| 71 | 76 | ... | ... |
install-cacic/installcacic.h