diff options
Diffstat (limited to 'src/shared/deviceskin/deviceskin.cpp')
-rw-r--r-- | src/shared/deviceskin/deviceskin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/deviceskin/deviceskin.cpp b/src/shared/deviceskin/deviceskin.cpp index bc594f118..b44f06103 100644 --- a/src/shared/deviceskin/deviceskin.cpp +++ b/src/shared/deviceskin/deviceskin.cpp @@ -474,7 +474,7 @@ DeviceSkin::~DeviceSkin( ) delete cursorw; } -void DeviceSkin::setTransform( const QMatrix& wm ) +void DeviceSkin::setTransform(const QTransform &wm) { transform = QImage::trueMatrix(wm,m_parameters.skinImageUp.width(),m_parameters.skinImageUp.height()); calcRegions(); @@ -488,7 +488,7 @@ void DeviceSkin::setTransform( const QMatrix& wm ) void DeviceSkin::setZoom( double z ) { - setTransform(QMatrix().scale(z,z)); + setTransform(QTransform().scale(z,z)); } void DeviceSkin::updateSecondaryScreen() |