luainstance: Remove unnecessary hide()/kill() calls from xxxDelete functions

- functions:
    CWindowDelete()
    SignalBoxDelete()
    ComponentsTextDelete()
    CPictureDelete()
This commit is contained in:
M. Liebmann
2014-09-17 20:46:34 +02:00
parent d83d519c86
commit 7c5ab40468

View File

@@ -1863,7 +1863,6 @@ int CLuaInstance::CWindowDelete(lua_State *L)
if (!m)
return 0;
m->w->hide();
delete m;
return 0;
}
@@ -1940,7 +1939,6 @@ int CLuaInstance::SignalBoxDelete(lua_State *L)
if (!m)
return 0;
m->s->kill();
delete m;
return 0;
}
@@ -2138,7 +2136,6 @@ int CLuaInstance::ComponentsTextDelete(lua_State *L)
if (!m)
return 0;
m->ct->hide();
delete m;
return 0;
}
@@ -2284,7 +2281,6 @@ int CLuaInstance::CPictureDelete(lua_State *L)
CLuaPicture *m = CPictureCheck(L, 1);
if (!m) return 0;
// m->cp->hide();
delete m;
return 0;
}