Neal Wilson 11 年之前
父節點
當前提交
2fff14bc10
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/typica.w

+ 2
- 2
src/typica.w 查看文件

@@ -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…
取消
儲存