Compare commits
No commits in common. "76aa9a87c58a0970f55fdfdd3af8e6f012d535b8" and "72b777dec3ffbbf88d0140b5d4ef5dd03c5b4f20" have entirely different histories.
76aa9a87c5
...
72b777dec3
|
@ -207,8 +207,3 @@ void Log::setup(const QString &app,int level)
|
||||||
qInfo()<<"[LOG_PATH]"<<g_file_path;
|
qInfo()<<"[LOG_PATH]"<<g_file_path;
|
||||||
qInfo()<<"===================================================";
|
qInfo()<<"===================================================";
|
||||||
}
|
}
|
||||||
|
|
||||||
void Log::teardown()
|
|
||||||
{
|
|
||||||
qInstallMessageHandler(0);
|
|
||||||
}
|
|
||||||
|
|
|
@ -6,7 +6,6 @@ namespace Log
|
||||||
{
|
{
|
||||||
QString prettyProductInfoWrapper();
|
QString prettyProductInfoWrapper();
|
||||||
void setup(const QString &app,int level = 4);
|
void setup(const QString &app,int level = 4);
|
||||||
void teardown();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // LOG_H
|
#endif // LOG_H
|
||||||
|
|
|
@ -82,6 +82,5 @@ int main(int argc, char *argv[])
|
||||||
if (exec == 931) {
|
if (exec == 931) {
|
||||||
QProcess::startDetached(qApp->applicationFilePath(), QStringList());
|
QProcess::startDetached(qApp->applicationFilePath(), QStringList());
|
||||||
}
|
}
|
||||||
Log::teardown();
|
|
||||||
return exec;
|
return exec;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue