summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-12 00:20:38 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-12 00:20:38 -0500
commitc8ce27ee8190cd56a1faf48fca98a0a2b8d9186f (patch)
treeaa4a3ea5cc27eecb6eda31ee92eca88d1454b511
parenta71d3a9d25ba424fa3dc4ec364f09411cfb64e4a (diff)
downloadhorizon-qt5-c8ce27ee8190cd56a1faf48fca98a0a2b8d9186f.tar.gz
horizon-qt5-c8ce27ee8190cd56a1faf48fca98a0a2b8d9186f.tar.bz2
horizon-qt5-c8ce27ee8190cd56a1faf48fca98a0a2b8d9186f.tar.xz
horizon-qt5-c8ce27ee8190cd56a1faf48fca98a0a2b8d9186f.zip
Scale watermarks on non-1.0 DPI screens
-rw-r--r--horizonwizardpage.cc2
1 files changed, 1 insertions, 1 deletions
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();