diff options
Diffstat (limited to 'examples/sql/drilldown/imageitem.cpp')
-rw-r--r-- | examples/sql/drilldown/imageitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sql/drilldown/imageitem.cpp b/examples/sql/drilldown/imageitem.cpp index 8ebd7fd890..f1e3872e1c 100644 --- a/examples/sql/drilldown/imageitem.cpp +++ b/examples/sql/drilldown/imageitem.cpp @@ -100,7 +100,7 @@ void ImageItem::setFrame(int frame) void ImageItem::adjust() { QMatrix matrix; - matrix.scale(150/ boundingRect().width(), 120/ boundingRect().height()); + matrix.scale(120/ boundingRect().width(), 120/ boundingRect().height()); setMatrix(matrix); } //! [4] |