Commit 555cc259 authored by Laurent Montel's avatar Laurent Montel
Browse files

check if we can open file

Change-Id: I1006f749007c91e93326852c619ddbf8447cfd7e
Reviewed-by: Nicolas Arnaud-Cormos's avatarNicolas Arnaud-Cormos <>
Reviewed-by: default avatarThomas Hartmann <>
parent f77c121a
......@@ -420,7 +420,8 @@ static inline bool parseSciFile(const QString &fileName, QString &pixmapFileName
QString imgFile;
QFile data(fileName);;
if (!
return false;
QByteArray raw;
while (raw = data.readLine(), !raw.isEmpty()) {
Supports Markdown
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