title: `EnumDisplaySettings` repeating same Resolution Multiple Times
body: <p>Here goes my code</p>
  
  <pre><code>DEVMODE dm;
  int index = 0;
  while(0 != EnumDisplaySettings(NULL, index++, &amp;dm)){
      qDebug() &lt;&lt; index-1 &lt;&lt; dm.dmPelsWidth &lt;&lt; dm.dmPelsHeight;
      Resolution* resolution = new Resolution(dm.dmPelsWidth, dm.dmPelsHeight);
  }
  </code></pre>
  
  <p>Outputs</p>
  
  <pre><code>0 320 200 
  1 320 200 
  2 320 200 
  3 320 240 
  4 320 240 
  5 320 240 
  6 400 300 
  7 400 300 
  8 400 300 
  9 512 384 
  10 512 384 
  11 512 384 
  12 640 400 
  13 640 400 
  14 640 400 
  15 640 480 
  .....
  25 640 480 
  26 640 480 
  27 800 600 
  .....
  41 800 600 
  42 1024 768 
  50 1024 768 
  51 1152 864 
  ....
  62 1152 864 
  63 1280 600 
  </code></pre>
  
  <p>I get only one thing in return that is <code>320x200</code> not even the <code>1600x900</code> which is my current Resolution.</p>