Skip to content
Snippets Groups Projects
  • BtbN's avatar
    34b67db5
    Minor refactor for creation of sub-windows · 34b67db5
    BtbN authored
    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.
    34b67db5
    History
    Minor refactor for creation of sub-windows
    BtbN authored
    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.