--- a/eric7/UI/UserInterface.py Wed Jun 16 17:47:50 2021 +0200 +++ b/eric7/UI/UserInterface.py Wed Jun 16 19:21:45 2021 +0200 @@ -761,7 +761,6 @@ # connect to the desktop environment session manager app.commitDataRequest.connect(self.__commitData, Qt.ConnectionType.DirectConnection) - app.saveStateRequest.connect(self.__saveState) def networkAccessManager(self): """ @@ -7555,14 +7554,3 @@ # We did not get permission to interact, play it safe and # save all data. self.viewmanager.saveAllEditors() - - def __saveState(self, manager: QSessionManager): - """ - Private slot to save the state when instructed by the desktop session - manager. - - @param manager reference to the desktop session manager - @type QSessionManager - """ - # TODO: implement saving the state - print("__saveState() call by session manager")