更新代码
parent
b694ab0085
commit
8f890420ec
|
@ -18,7 +18,7 @@ void Log(QtMsgType type, const QMessageLogContext &, const QString &msg)
|
|||
#endif
|
||||
{
|
||||
//加锁,防止多线程中qdebug太频繁导致崩溃
|
||||
QMutex mutex;
|
||||
static QMutex mutex;
|
||||
QMutexLocker locker(&mutex);
|
||||
QString content;
|
||||
|
||||
|
|
Loading…
Reference in New Issue