title: Opening QDialog in a non-blocking manner
body: <p>I have a QDialog which I open like this:</p>
  
  <pre><code>void MyModule::openDialog() {
      this-&gt;dialog-&gt;open();
      printf("Hello World");
  }
  </code></pre>
  
  <p>The dialog opens just fine, but unfortunately "Hello World" isn't printed when calling openDialog() - even after closing the dialog. However, when I open another completely unrelated file dialog afterwards, the message is printed out.</p>
  
  <p>What is causing the dialog to block until another dialog is opened? The same thing happens when I'm using <code>this-&gt;dialog-&gt;exec();</code> or <code>this-&gt;dialog-&gt;show();</code>.</p>
  
  <p>It might be worth noting that <code>MyModule::openDialog()</code> is a slot which is connected to the click-event of a button.</p>
  
  <p>Any ideas?</p>