Do the project restore for each project directly after opening and only then processEvents(). A project might be in a intermediate state between opening and restoring.