Remove hardcode of AppEnv, folder detect now properly

This commit is contained in:
Rafael 2016-12-10 03:40:42 +01:00
parent 3be2e49d5c
commit 601552dc26
2 changed files with 27 additions and 13 deletions

View file

@ -339,7 +339,10 @@ bool SnapmaticPicture::setPicture(const QImage &picture)
int result = snapmaticStream.write(picByteArray);
if (result != 0)
{
cachePicture = picture;
if (cacheEnabled)
{
cachePicture = picture;
}
return true;
}
return false;