summaryrefslogtreecommitdiff
path: root/core/launcher/main.cpp
Side-by-side diff
Diffstat (limited to 'core/launcher/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/main.cpp20
1 files changed, 2 insertions, 18 deletions
diff --git a/core/launcher/main.cpp b/core/launcher/main.cpp
index 1e5eb46..49b41d6 100644
--- a/core/launcher/main.cpp
+++ b/core/launcher/main.cpp
@@ -68,3 +68,2 @@ void initEnvironment( )
setenv( "LANG", lang, 1 );
-
}
@@ -74,4 +73,2 @@ int initApplication( int argc, char ** argv )
{
- struct ODevice *odev = ODevice::inst();
-
initEnvironment( );
@@ -86,16 +83,3 @@ int initApplication( int argc, char ** argv )
- int rot;
- switch ( odev-> rotation( ) ) {
- case None:
- rot = 0;
- case Rot90:
- rot = 90;
- case Rot180:
- rot = 180;
- case Rot270:
- rot = 270;
- }
- a.setDefaultRotation( rot );
-
- odev-> setSoftSuspend ( true );
+ ODevice::inst ( )-> setSoftSuspend ( true );
@@ -142,3 +126,3 @@ int initApplication( int argc, char ** argv )
- odev-> setSoftSuspend ( false );
+ ODevice::inst ( )-> setSoftSuspend ( false );