Then you don't call QWidget::showFullScreen().
There are many different "what ifs" we could discuss. If you have a frameless window, you can't even move it or close it so what's the point of having it this way?Wouldn't the flags method I suggested be a more general solution that would work regardless of window size?
Bookmarks