Fix exif rotation in unencrypted rooms
This commit is contained in:
parent
5f4ab925da
commit
007ee38b04
3 changed files with 16 additions and 3 deletions
|
|
@ -802,6 +802,13 @@ utils::restoreCombobox(QComboBox *combo, const QString &value)
|
|||
}
|
||||
}
|
||||
|
||||
QImage
|
||||
utils::readImageFromFile(const QString &filename)
|
||||
{
|
||||
QImageReader reader(filename);
|
||||
reader.setAutoTransform(true);
|
||||
return reader.read();
|
||||
}
|
||||
QImage
|
||||
utils::readImage(const QByteArray &data)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue