repair broken Snapmatics and fix Snapmatic format issue
This commit is contained in:
parent
f9eee75757
commit
eeb0c01a5f
19 changed files with 487 additions and 344 deletions
|
@ -78,6 +78,14 @@ void ProfileLoader::run()
|
|||
SnapmaticPicture *picture = new SnapmaticPicture(picturePath);
|
||||
if (picture->readingPicture(true, true, true))
|
||||
{
|
||||
if (picture->isFormatSwitched())
|
||||
{
|
||||
picture->setSnapmaticFormat(SnapmaticFormat::PGTA_Format);
|
||||
if (picture->exportPicture(picturePath, SnapmaticFormat::PGTA_Format))
|
||||
{
|
||||
emit pictureFixed(picture);
|
||||
}
|
||||
}
|
||||
emit pictureLoaded(picture);
|
||||
int crewNumber = picture->getSnapmaticProperties().crewID;
|
||||
if (!crewList.contains(crewNumber))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue