Remove hardcode of AppEnv, folder detect now properly
This commit is contained in:
parent
3be2e49d5c
commit
601552dc26
2 changed files with 27 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue