Commit 4de68511 authored by Nikolai Kosjar's avatar Nikolai Kosjar

Clang: Output warnings if QIODevice::write() fails

Change-Id: I9588a5081d8adb7b2db7955c4f48a2391e202396
Reviewed-by: Tim Jenssen's avatarTim Jenssen <>
parent 3b4c6ed5
......@@ -57,7 +57,9 @@ void WriteMessageBlock::write(const MessageEnvelop &message)
const qint64 bytesWritten = m_ioDevice->write(block);
if (bytesWritten == -1)
qWarning() << "Failed to write data:" << m_ioDevice->errorString();
qint64 WriteMessageBlock::counter() const
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