Keeps screen lit and pauses when app is backgrounded
authorHeli Hyvättinen <heli.hyvattinen@kymp.net>
Wed, 15 Jun 2011 11:30:54 +0000 (14:30 +0300)
committerHeli Hyvättinen <heli.hyvattinen@kymp.net>
Wed, 15 Jun 2011 11:30:54 +0000 (14:30 +0300)
commit6eaae217ae97f15f57bf0425efd13b375a1bc8c0
tree2ea929ebf090eb01299053e2cc36a94a7e5f6eed
parent86f34fc32149646c3e6fb0dad1f437eac203f030
Keeps screen lit and pauses when app is backgrounded

The screen is now kept lit unless the game is paused. The game is auto-
(paused or not) before minimizing is restored (using the state of the
pause action from menu).
ghostsoverboard.pro
mainwindow.cpp
mainwindow.h
screenlitkeeper.cpp [new file with mode: 0644]
screenlitkeeper.h [new file with mode: 0644]
seascene.cpp
seascene.h