I'd like to use QUndoStack's cleanChanged(bool) signal to control QWidget's setWindowModified(bool) slot, but they seem to be the opposite: i.e., cleanChanged is true when the stack is clean, but setWindowModified(true) makes the window modified/dirty.
Is there anything I can do short of making a new method in my QMainWindow just to reverse the boolean? Or am I missing something really obvious?![]()
Bookmarks