Neal Wilson 12 years ago
parent
commit
2fff14bc10
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/typica.w

+ 2
- 2
src/typica.w View File

1541
 @ The constructor is trivial.
1541
 @ The constructor is trivial.
1542
 
1542
 
1543
 @<Functions for scripting@>=
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
 	setQLineEditProperties(object, engine);
1547
 	setQLineEditProperties(object, engine);
1548
 	return object;
1548
 	return object;
1549
 }
1549
 }

Loading…
Cancel
Save