adding Snapmatic Property Editor

This commit is contained in:
Rafael 2016-12-10 07:55:06 +01:00
parent 641bf222c9
commit 5086fb8f3f
9 changed files with 482 additions and 256 deletions

View file

@ -497,6 +497,10 @@ bool ProfileInterface::importSnapmaticPicture(SnapmaticPicture *picture, QString
{
adjustedFileName.remove(adjustedFileName.length() - 7, 7);
}
if (adjustedFileName.right(4) == ".bak") // for the backup file system
{
adjustedFileName.remove(adjustedFileName.length() - 4, 4);
}
if (picFileName.left(4) != "PGTA")
{
if (warn) QMessageBox::warning(this, tr("Import"), tr("Failed to import the Snapmatic picture, file not begin with PGTA"));