title: Qt Linux/XP difference - making window unresizable by user
body: <p>in my class that inherits QMainWindow, I have a resize method that resizes the window and then makes it unresizable to user input:</p>
  
  <pre><code>this-&gt;setMaximumSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX);
  this-&gt;resize(this-&gt;width(), this-&gt;height() + newSize);
  this-&gt;setFixedSize(this-&gt;size());
  </code></pre>
  
  <p>It works perfectly on <code>Linux</code>, but on <code>Windows</code> it leaves the window resizable to user input. I'm not sure how that's possible, since it's identical code and the last call IS <code>setFixedSize</code>, which should disable resizing.</p>