Commit d4b6392f authored by Christian Kandeler's avatar Christian Kandeler Committed by Tobias Hunger

QbsProjectManager: Adapt to qbs API change.

qbs::logLevelTag() returns a QString now.

Change-Id: Iacd94a93bbadb30d624b9c458899921f0e72de66
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent edfd651f
......@@ -65,11 +65,10 @@ void QbsLogSink::sendMessages()
void QbsLogSink::doPrintMessage(qbs::LoggerLevel level, const QString &message, const QString &tag)
{
Q_UNUSED(tag);
const QString fullMessage = QString::fromLocal8Bit(qbs::logLevelTag(level)) + message;
{
QMutexLocker l(&m_mutex);
m_messages.append(fullMessage);
m_messages.append(qbs::logLevelTag(level) + message);
}
QMetaObject::invokeMethod(this, "sendMessages", Qt::QueuedConnection);
}
......
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