mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2024-11-23 19:25:55 +01:00
Print non-critical errors as warnings
This commit is contained in:
parent
ab19e5770f
commit
14dada50c4
@ -590,7 +590,7 @@ static bool loadSprites(const QDir &styleDir, const QString &json,
|
|||||||
if (QFileInfo::exists(spritesImg))
|
if (QFileInfo::exists(spritesImg))
|
||||||
return sprites.load(spritesJSON, spritesImg);
|
return sprites.load(spritesJSON, spritesImg);
|
||||||
else {
|
else {
|
||||||
qCritical() << spritesImg << ": no such file";
|
qWarning() << spritesImg << ": no such file";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user