From 87d62684dba1e431f70f1669fc72fc3595ae7bad Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 14 Sep 2021 17:54:53 +0300 Subject: [PATCH] Fix build with Qt 5.6. --- src/app/puzzle/vptilefactory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/puzzle/vptilefactory.h b/src/app/puzzle/vptilefactory.h index 55484e2a6..c20b03d34 100644 --- a/src/app/puzzle/vptilefactory.h +++ b/src/app/puzzle/vptilefactory.h @@ -89,7 +89,7 @@ public: /** * @brief tileStripeWidth the width of the info / glueing stripe in Px */ - static constexpr qreal tileStripeWidth = UnitConvertor(1, Unit::Cm, Unit::Px); + static constexpr qreal tileStripeWidth = 10.0 / 25.4 * PrintDPI; // 1 cm to pixels auto WatermarkData() const -> const VWatermarkData &;