Skip to content
Snippets Groups Projects
Commit 850a44c9 authored by hluk's avatar hluk
Browse files

Fix checking write log status


Signed-off-by: default avatarLukas Holecek <hluk@email.cz>
parent 7beed714
No related branches found
No related tags found
No related merge requests found
......@@ -231,7 +231,7 @@ bool writeLogFile(const QByteArray &message)
if ( !f.open(QIODevice::Append) )
return false;
if ( !f.write(message) )
if ( f.write(message) <= 0 )
return false;
f.close();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment