Track properties window lifetime via QPointer

Previously the properties window would sometimes not receive
a closeEvent, leaving a dangling pointer in OBSBasicMain (and resulting
in a crash when trying to open a new properties window or closing
the application)
This commit is contained in:
Palana
2014-04-16 17:22:06 +02:00
parent 785d81ffe2
commit be55c06308
4 changed files with 3 additions and 15 deletions
-5
View File
@@ -979,8 +979,3 @@ config_t OBSBasic::Config() const
{
return basicConfig;
}
void OBSBasic::UnloadProperties()
{
properties = nullptr;
}