diff --git a/src/ImageViewer.cpp b/src/ImageViewer.cpp --- a/src/ImageViewer.cpp +++ b/src/ImageViewer.cpp @@ -117,7 +117,7 @@ // ------------------------------------------------------------------------ void ImageViewer::zoomActualSize() { - setMatrix(QMatrix()); + resetTransform(); } // ------------------------------------------------------------------------