Skip to content

Commit 09b6f3f

Browse files
committed
fix: [build] build error
Log: as title
1 parent 3abefdd commit 09b6f3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ void showWatermark(const QString &sJson, MainWindow *w)
6262
WaterMarkData data = ins->data();
6363
// DTKWidget 主线和定制线的水印接口不同,通过版本进行区分
6464
// 主线水印接口在 5.6.9 之后引入.
65-
// 因此,判断定制线:存在水印接口,版本不低于 5.4.42.7 且低于 5.5
66-
#if DTK_VERSION_CHECK(5, 4, 42, 7) <= DTK_VERSION && DTK_VERSION < DTK_VERSION_CHECK(5, 5, 0, 0)
65+
// 因此,判断定制线:存在水印接口,版本不低于 5.4.42.7 且低于 5.6.9
66+
#if DTK_VERSION_CHECK(5, 4, 42, 7) <= DTK_VERSION && DTK_VERSION < DTK_VERSION_CHECK(5, 6, 9, 0)
6767
//接口变动为结构体
6868
data.text = mapwaterMark.value("text").toString();
6969
data.type = WaterMarkType::Text;

0 commit comments

Comments
 (0)