From c8ce27ee8190cd56a1faf48fca98a0a2b8d9186f Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 12 May 2019 00:20:38 -0500 Subject: Scale watermarks on non-1.0 DPI screens --- horizonwizardpage.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/horizonwizardpage.cc b/horizonwizardpage.cc index 4f6ba50..f1dbabe 100644 --- a/horizonwizardpage.cc +++ b/horizonwizardpage.cc @@ -28,7 +28,7 @@ void HorizonWizardPage::loadWatermark(string page) // Handle cases where ratio is not exactly 1.0 or 2.0 // Wizard machinary automatically uses FastTransformation, which is // ugly as sin. - if(pixelRatio == 0) + if(pixelRatio > 1.0) { qreal width = 232 * window()->devicePixelRatioF(); qreal height = 380 * window()->devicePixelRatioF(); -- cgit v1.2.3-70-g09d2