Original writer was me. Looking at the original code and trying to recall memories from the distant past... Overload use of the work open :/

isOpen is in the common QNetworkSession code, it represents the external state of openness, indicating whether the session is open or not. It can only be true if the open() function has been called.

opened is an internal implementation detail. It means open() has been called so an active configuration will make isOpen true.

Given the above "opened = true" should not be here but in open() above when the dialog is displayed.