2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 23:25:15 +00:00

exif fixed, media overview redesign done

This commit is contained in:
John Preston
2015-12-23 14:13:08 +03:00
parent 5108685123
commit af9908f076
12 changed files with 550 additions and 766 deletions

View File

@@ -2886,6 +2886,9 @@ namespace Local {
QImage img;
QBuffer buf(&pngData);
QImageReader reader(&buf);
#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
reader.setAutoTransform(true);
#endif
if (reader.read(&img)) {
App::initBackground(id, img, true);
return true;