adding Snapmatic Property Editor
This commit is contained in:
parent
641bf222c9
commit
5086fb8f3f
9 changed files with 482 additions and 256 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue