Compare commits

..

No commits in common. "76aa9a87c58a0970f55fdfdd3af8e6f012d535b8" and "72b777dec3ffbbf88d0140b5d4ef5dd03c5b4f20" have entirely different histories.

3 changed files with 0 additions and 7 deletions

View File

@ -207,8 +207,3 @@ void Log::setup(const QString &app,int level)
qInfo()<<"[LOG_PATH]"<<g_file_path;
qInfo()<<"===================================================";
}
void Log::teardown()
{
qInstallMessageHandler(0);
}

View File

@ -6,7 +6,6 @@ namespace Log
{
QString prettyProductInfoWrapper();
void setup(const QString &app,int level = 4);
void teardown();
}
#endif // LOG_H

View File

@ -82,6 +82,5 @@ int main(int argc, char *argv[])
if (exec == 931) {
QProcess::startDetached(qApp->applicationFilePath(), QStringList());
}
Log::teardown();
return exec;
}