Fix build with Qt 5.6.

This commit is contained in:
Roman Telezhynskyi 2021-09-14 17:54:53 +03:00
parent 0301cf567e
commit 87d62684db

View File

@ -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 &;