Hi,
All the code Im looking at does this:
x.setWindowFlags( Qt::SomeFlag )
x.setWindowFlags( Qt::SomeFlag )
To copy to clipboard, switch view to plain text mode
but shouldnt the correct usage in most cases be to specifically set or unset specific flags rather than presumably clobbering all of them. As in general you dont know which flags might be set on a given type of widget? E.g.:
x.setWindowFlags( x.windowFlags() | Qt::SomeFlag )
x.setWindowFlags( x.windowFlags() | Qt::SomeFlag )
To copy to clipboard, switch view to plain text mode
Thanks.
Bookmarks