Fix version

This commit is contained in:
Rodrigo Torres 2021-08-24 04:30:38 -03:00
parent 67d8146b9c
commit d704b495dc

View File

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