mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
fix compilation error
This commit is contained in:
parent
83baa74a27
commit
2e2bf31239
@ -18,7 +18,7 @@
|
||||
|
||||
inline static bool realEqual(qreal p_a, qreal p_b)
|
||||
{
|
||||
return std::abs(p_a - p_b) < 1e-8;
|
||||
return std::abs((double)(p_a - p_b)) < 1e-8;
|
||||
}
|
||||
|
||||
VTextDocumentLayout::VTextDocumentLayout(QTextDocument *p_doc,
|
||||
|
Loading…
x
Reference in New Issue
Block a user