mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-05 17:55:25 +08:00
fix crash before exit program with vs2019
This commit is contained in:
@ -207,3 +207,8 @@ void Log::setup(const QString &app,int level)
|
||||
qInfo()<<"[LOG_PATH]"<<g_file_path;
|
||||
qInfo()<<"===================================================";
|
||||
}
|
||||
|
||||
void Log::teardown()
|
||||
{
|
||||
qInstallMessageHandler(0);
|
||||
}
|
||||
|
@ -6,6 +6,7 @@ namespace Log
|
||||
{
|
||||
QString prettyProductInfoWrapper();
|
||||
void setup(const QString &app,int level = 4);
|
||||
void teardown();
|
||||
}
|
||||
|
||||
#endif // LOG_H
|
||||
|
Reference in New Issue
Block a user