Are there known problems calling QWidget's pos() function from closeEvent? I have an application running under Linux/X11 that uses QSettings to persist the size and location of QWidgets. As recommended in the Qt docs, I read the settings in the constructor and write them in the widget's closeEvent function. The behavior I see is that the position written to the settings files is often (though not always) incorrect. Could it be that QWidget's pos() function cannot be counted on when called from closeEvent?
Bookmarks