-
- Downloads
Minor refactor for creation of sub-windows
This refactors the sub-window code a bit so that instead of deleting the window pointers, it calls QWidget::close() on them to safely trigger a normal close on them instead (which will also delete them). Moves setting the DeleteOnClose flag from inside of the Dialog classes into the OBSBasic class, to make that behaviour more obvious.
Showing
- obs/window-basic-main.cpp 23 additions, 13 deletionsobs/window-basic-main.cpp
- obs/window-basic-main.hpp 2 additions, 0 deletionsobs/window-basic-main.hpp
- obs/window-basic-properties.cpp 0 additions, 2 deletionsobs/window-basic-properties.cpp
- obs/window-basic-transform.cpp 0 additions, 2 deletionsobs/window-basic-transform.cpp
Loading
Please register or sign in to comment