mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Use QTransform instead of QMatrix
This commit is contained in:
parent
154f215c38
commit
100e1c40a1
@ -348,7 +348,7 @@ void PageRender::run()
|
||||
QImage img;
|
||||
img.loadFromData(data);
|
||||
if (degrees > 0) {
|
||||
QMatrix m;
|
||||
QTransform m;
|
||||
m.rotate(degrees);
|
||||
img = img.transformed(m, Qt::SmoothTransformation);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user