mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Logger: Remove the thread pointer from the log.
We don't do discovery in a thread or use many threads anymore so this is just noise. Also use of QString::sprintf is deprecated, and C cast.
This commit is contained in:
parent
669e42edd1
commit
44fc881ced
@ -18,7 +18,6 @@
|
||||
|
||||
#include <QDir>
|
||||
#include <QStringList>
|
||||
#include <QThread>
|
||||
#include <QtGlobal>
|
||||
#include <qmetaobject.h>
|
||||
|
||||
@ -103,7 +102,6 @@ void Logger::log(Log log)
|
||||
msg = log.timeStamp.toString(QLatin1String("MM-dd hh:mm:ss:zzz")) + QLatin1Char(' ');
|
||||
}
|
||||
|
||||
msg += QString().sprintf("%p ", (void *)QThread::currentThread());
|
||||
msg += log.message;
|
||||
// _logs.append(log);
|
||||
// std::cout << qPrintable(log.message) << std::endl;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user