|
@@ -1541,9 +1541,9 @@ engine->globalObject().setProperty("QLineEdit", value);
|
1541
|
1541
|
@ The constructor is trivial.
|
1542
|
1542
|
|
1543
|
1543
|
@<Functions for scripting@>=
|
1544
|
|
-QScriptValue constructQLineEdit(QScriptContext *context, QScriptEngine *engine)
|
|
1544
|
+QScriptValue constructQLineEdit(QScriptContext *, QScriptEngine *engine)
|
1545
|
1545
|
{
|
1546
|
|
- QScriptValue object = engine->newQObject(new QLineExit(text));
|
|
1546
|
+ QScriptValue object = engine->newQObject(new QLineEdit());
|
1547
|
1547
|
setQLineEditProperties(object, engine);
|
1548
|
1548
|
return object;
|
1549
|
1549
|
}
|