Skip to content
Commit 7536d251 authored by Mikko Rapeli's avatar Mikko Rapeli Committed by Jean-Baptiste Mardelle
Browse files

projectsettings.cpp: return if open() fails

Fixes Coverity CID 709281: Unchecked return value (CHECKED_RETURN)
Calling function "QFile::open(QFlags<QIODevice::OpenModeFlag>)" without checking return value (as is done elsewhere 45 out of 47 times).
No check of the return value of "xmlf.open(QIODevice::OpenMode(_ZN9QIODevice9WriteOnlyE))".
552    xmlf.open(QIODevice::WriteOnly);
parent 0be5ff60
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