citic / botNeumann

A metaphorized and gamified visualization of the von Neumann architecture for programming learning
1 stars 0 forks source link

Save and restore session #128

Closed jeissonh closed 7 years ago

jeissonh commented 7 years ago

Save in QSettings last opened scene: main menu, unit selection, or unit playing, and the parameters to restore them (context, unit name). Restore the scene during the load, and save during finishing the application.

Keep a key /App/ExitClean with values running (set during the load) or clean (set during exiting the application. If during the load the key is running it means at not clean exit was done in the previous session, and restore the game menu scene instead of the saved scene preferences.

jeissonh commented 7 years ago

Closed by commit 01a4a1afad1b9f986e3641c711203834454dec66