Neal Wilson 11 anos atrás
pai
commit
2fff14bc10
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      src/typica.w

+ 2
- 2
src/typica.w Ver arquivo

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

Carregando…
Cancelar
Salvar