Disabling feature for snapmatics added

This commit is contained in:
Rafael 2016-10-27 06:50:53 +02:00
parent 01bd695022
commit 1c0ad45024
7 changed files with 231 additions and 93 deletions

View file

@ -79,6 +79,10 @@ bool SnapmaticPicture::readingPicture(bool writeEnabled_)
QFile *picFile = new QFile(picFileName);
QIODevice *picStream;
if (picFileName.right(7) == ".hidden") // for the hidden file system
{
picFileName.remove(picFileName.length() - 7, 7);
}
if (!picFile->open(QFile::ReadOnly))
{