mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-24 04:33:03 +03:00
Fix version
This commit is contained in:
parent
67d8146b9c
commit
d704b495dc
@ -452,7 +452,7 @@ QString TextItem::formatNumber(const double value)
|
|||||||
|
|
||||||
if (m_format.contains("%"))
|
if (m_format.contains("%"))
|
||||||
{
|
{
|
||||||
#if QT_VERSION < 0x050000
|
#if QT_VERSION < 0x050500
|
||||||
str.sprintf(m_format.toStdString().c_str(), value);
|
str.sprintf(m_format.toStdString().c_str(), value);
|
||||||
#else
|
#else
|
||||||
str.asprintf(m_format.toStdString().c_str(), value);
|
str.asprintf(m_format.toStdString().c_str(), value);
|
||||||
|
Loading…
Reference in New Issue
Block a user