Disabling feature for snapmatics added
This commit is contained in:
parent
01bd695022
commit
1c0ad45024
7 changed files with 231 additions and 93 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue