title: QMessageBox class giving more results then required
body: <p>I am using infinite while loop in my app from which i emitting a signal to call a slot in which dialog box is defined.</p>
  
  <p>I am using msleep(5000) in my infinite loop.</p>
  
  <p>Problem is when dialog box pops up first time and if i don't close it with in 5 seconds then another dialog box appears then another after 5 seconds and so on.</p>
  
  <p>any help appreciated.</p>