remove unused QDeclarativeJS::integerFromString() function overload

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2021-03-18 08:14:15 +02:00
parent 90eefedab8
commit 2b09dfc0aa
3 changed files with 0 additions and 15 deletions

View file

@ -122,13 +122,6 @@ double integerFromString(const char *buf, int size, int radix)
return result;
}
double integerFromString(const QString &str, int radix)
{
QByteArray ba = str.trimmed().toLatin1();
return integerFromString(ba.constData(), ba.size(), radix);
}
Engine::Engine()
: _lexer(0), _nodePool(0)
{ }

View file

@ -66,10 +66,6 @@ public:
uint qHash(const QDeclarativeJS::NameId &id);
} // end of namespace QDeclarativeJS
namespace QDeclarativeJS {
class Lexer;
class NodePool;

View file

@ -19,10 +19,6 @@
**
****************************************************************************/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "qdeclarativejslexer_p.h"
#include "qdeclarativejsengine_p.h"