My problem was caused because I wasn't setting the window flags correctly (didn't add to the current flags when I wanted to set a particular flag).
My corrected code is:
Qt Code:
Qt::WindowFlags flags=windowFlags(); flags^=Qt::WindowMaximizeButtonHint; setWindowFlags(flags);To copy to clipboard, switch view to plain text mode




Reply With Quote
Bookmarks