title: Issue with qmessagebox, can't change its position
body: <p>I have this</p>
  
  <pre><code>int MainWindow::messageBox( QString button, QMessageBox::ButtonRole buttons, QString info, QMessageBox::Icon icon )
  {
      QFont f;
  
      f.setPointSize(6);
  
      QMessageBox *message = new QMessageBox(this);
      message-&gt;setWindowModality(Qt::WindowModal);
      message-&gt;setFont(f);
      message-&gt;setText(info);
      message-&gt;addButton( button, buttons );
      message-&gt;setWindowTitle("MainWindow");
      message-&gt;setIcon(icon);
      message-&gt;move( this-&gt;width() / 2, this-&gt;height() / 2 );
  
      return message-&gt;exec();
  }
  </code></pre>
  
  <p>But I can't make the qmessagebox go to the center of the screen, I also tried using setGeometry, but it doesn't work. Any ideas on this?</p>