I had it messed up to begin with. SizePersistedDialog wasn't even part of calibre anyway. It was a utility that subclassed QDialog (to hook into calibre's gprefs) that I copied and included with so many plugins that I forgot it wasn't calibre.
calibre.gui2.tweak_book.widgets.Dialog is much cleaner and involves less code. Thanks again!
|