Neal Wilson hace 11 años
padre
commit
2fff14bc10
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      src/typica.w

+ 2
- 2
src/typica.w Ver fichero

@@ -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
 }

Loading…
Cancelar
Guardar