aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlscriptstring_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlscriptstring_p.h')
-rw-r--r--src/qml/qml/qqmlscriptstring_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlscriptstring_p.h b/src/qml/qml/qqmlscriptstring_p.h
index 97c02d21d7..362adb9157 100644
--- a/src/qml/qml/qqmlscriptstring_p.h
+++ b/src/qml/qml/qqmlscriptstring_p.h
@@ -50,7 +50,7 @@ QT_BEGIN_NAMESPACE
class Q_AUTOTEST_EXPORT QQmlScriptStringPrivate : public QSharedData
{
public:
- QQmlScriptStringPrivate() : context(0), scope(0), bindingId(-1), lineNumber(-1), columnNumber(-1),
+ QQmlScriptStringPrivate() : context(0), scope(0), bindingId(-1), lineNumber(0), columnNumber(0),
numberValue(0), isStringLiteral(false), isNumberLiteral(false) {}
//for testing
@@ -60,8 +60,8 @@ public:
QObject *scope;
QString script;
int bindingId;
- int lineNumber;
- int columnNumber;
+ quint16 lineNumber;
+ quint16 columnNumber;
double numberValue;
bool isStringLiteral;
bool isNumberLiteral;