summary refs log tree commit diff
path: root/src/dialogs/ImageOverlay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/ImageOverlay.cpp')
-rw-r--r--src/dialogs/ImageOverlay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/ImageOverlay.cpp b/src/dialogs/ImageOverlay.cpp

index 7773f97c..b40aa164 100644 --- a/src/dialogs/ImageOverlay.cpp +++ b/src/dialogs/ImageOverlay.cpp
@@ -68,7 +68,7 @@ ImageOverlay::paintEvent(QPaintEvent *event) int max_width = screen_.width() - 2 * outer_margin; int max_height = screen_.height(); - image_ = utils::scaleDown<QPixmap>(max_width, max_height, originalImage_); + image_ = utils::scaleDown(max_width, max_height, originalImage_); int diff_x = max_width - image_.width(); int diff_y = max_height - image_.height();