mirror of
https://gitlab.com/Syping/luaengineapp.git
synced 2024-11-05 05:26:55 +01:00
CLIExecuted -> CliExecuted
This commit is contained in:
parent
2a3aa0af59
commit
ec0d999365
3 changed files with 3 additions and 3 deletions
|
@ -77,7 +77,7 @@ int main(int argc, char *argv[])
|
|||
return variant.toInt();
|
||||
}
|
||||
else if (variant.type() == QVariant::String) {
|
||||
if (variant.toString() == "GuiExecuted" || variant.toString() == "CLIExecuted") {
|
||||
if (variant.toString() == "GuiExecuted" || variant.toString() == "CliExecuted") {
|
||||
return a.exec();
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -64,7 +64,7 @@ int main(int argc, char *argv[])
|
|||
return variant.toInt();
|
||||
}
|
||||
else if (variant.type() == QVariant::String) {
|
||||
if (variant.toString() == "CLIExecuted") {
|
||||
if (variant.toString() == "CliExecuted") {
|
||||
return a.exec();
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -31,7 +31,7 @@ LuaEngine::LuaEngine(QObject *parent, bool loadBaseLibraries) : QObject(parent)
|
|||
|
||||
pushVariant("DeleteInstant", 0);
|
||||
pushVariant("DeleteLater", 1);
|
||||
pushVariant("CLIExecuted", "CLIExecuted");
|
||||
pushVariant("CliExecuted", "CliExecuted");
|
||||
pushFunction("delete", luaObjectDelete_p);
|
||||
pushFunction("connect", luaTriggerConnect_p);
|
||||
pushFunction("disconnect", luaTriggerDisconnect_p);
|
||||
|
|
Loading…
Reference in a new issue