Skip to content
  • Ahmad Samir's avatar
    Better management of member variables destruction in TerminalDisplay · a7363fa5
    Ahmad Samir authored
    Always pass a parent to a QObject constructor; this is always a good
    idea, as it enforces the parent/child relationship, and it also means
    the parent QObject will take care of deleting its children, less manual
    'delete' calls.
    
    _terminalPainter already has a TerminalDisplay parent object.
    
    Use a std::unique_ptr to manage _printManager (it's not a QObject).
    a7363fa5