Commit ad245bcc authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Fix infinite recursion.

Global replacement without checking is wrong. WRONG!
parent 51f89199
......@@ -34,7 +34,7 @@ inline QDebug vlmcDebug()
inline QDebug vlmcWarning()
{
return (vlmcWarning().nospace() << '[' << qPrintable(QTime::currentTime().toString("hh:mm:ss.zzz")) << "] T #" << QThread::currentThreadId() << " W:").space();
return (qWarning().nospace() << '[' << qPrintable(QTime::currentTime().toString("hh:mm:ss.zzz")) << "] T #" << QThread::currentThreadId() << " W:").space();
}
inline QDebug vlmcCritical()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment