CLIExecuted -> CliExecuted

This commit is contained in:
Syping 2020-07-27 16:36:19 +02:00
parent 2a3aa0af59
commit ec0d999365
3 changed files with 3 additions and 3 deletions

View file

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

View file

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

View file

@ -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);