int w = currentSize.width();
int h = currentSize.height();
w = qMax(settings["Width"].Value(0), w);
h = qMax(settings["Height"].Value(0), h);
Man, this is the deal!!! Everything worked perfectly after I fine tuned your code to my context! Thank you very much.
The trick was really to use normalGeometry and windowState, so these two are the answer to my question.