Skip to content

Commit

Permalink
fix: 处理1050分支代码在103x主题构建环境里编译错误的问题;
Browse files Browse the repository at this point in the history
Description: 处理1050分支代码在103x主题构建环境里编译错误的问题;

Log: 处理1050分支代码在103x主题构建环境里编译错误的问题;
Change-Id: Ifff01ce0ba0fae59c52be576ecac4ea2cafa2852
  • Loading branch information
guoshaoyu committed Nov 29, 2021
1 parent 656c53d commit 460b863
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/src/widgets/ut_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1981,7 +1981,11 @@ TEST(UT_Window_doprint, UT_Window_doprint)
Stub s1;s1.set(ADDR(EditWrapper,textEditor),EditWrapper_textEditor_stub);

QVector<int> pages{1,2,3,4,5};
#if (DTK_VERSION_MAJOR > 5 \
|| (DTK_VERSION_MAJOR == 5 && DTK_VERSION_MINOR > 4) \
|| (DTK_VERSION_MAJOR == 5 && DTK_VERSION_MINOR == 4 && DTK_VERSION_PATCH >= 10))
w->doPrint(p,pages);
#endif

EXPECT_NE(w, nullptr);
w->deleteLater();
Expand Down

0 comments on commit 460b863

Please sign in to comment.