better RDR 2 support, bug fixes + optimisation, libragephoto upstream
This commit is contained in:
parent
b19152fdae
commit
2d0830254b
10 changed files with 136 additions and 145 deletions
|
@ -100,8 +100,8 @@ void ProfileLoader::run()
|
|||
SnapmaticPicture *picture = new SnapmaticPicture(picturePath);
|
||||
if (picture->readingPicture(true)) {
|
||||
if (picture->isFormatSwitched()) {
|
||||
picture->setSnapmaticFormat(SnapmaticFormat::PGTA_Format);
|
||||
if (picture->exportPicture(picturePath, SnapmaticFormat::PGTA_Format)) {
|
||||
picture->setSnapmaticFormat(SnapmaticFormat::PGTA5_Format);
|
||||
if (picture->exportPicture(picturePath, SnapmaticFormat::PGTA5_Format)) {
|
||||
emit pictureFixed(picture);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue