title: Make Qt application not to quit when last window is closed
body: <p>I've created a Qt application that acts mostly as a daemon, but occasionally shows a dialog. </p>
  
  <p>Now, I know the default behavior is to close the application when the last window closes, but for my program, I need it to continue running. How do I change the behavior of my application?</p>