diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-05-12 00:20:38 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-05-12 00:20:38 -0500 |
commit | c8ce27ee8190cd56a1faf48fca98a0a2b8d9186f (patch) | |
tree | aa4a3ea5cc27eecb6eda31ee92eca88d1454b511 | |
parent | a71d3a9d25ba424fa3dc4ec364f09411cfb64e4a (diff) | |
download | horizon-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.cc | 2 |
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(); |