-rw-r--r-- | core/launcher/main.cpp | 20 | ||||
-rw-r--r-- | packages | 1 |
2 files changed, 2 insertions, 19 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 @@ -67,5 +67,4 @@ void initEnvironment( ) if ( !lang.isNull() ) setenv( "LANG", lang, 1 ); - } @@ -73,6 +72,4 @@ void initEnvironment( ) int initApplication( int argc, char ** argv ) { - struct ODevice *odev = ODevice::inst(); - initEnvironment( ); @@ -85,18 +82,5 @@ int initApplication( int argc, char ** argv ) DesktopApplication a( argc, argv, QApplication::GuiServer ); - 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 ); { // init backlight @@ -141,5 +125,5 @@ int initApplication( int argc, char ** argv ) delete d; - odev-> setSoftSuspend ( false ); + ODevice::inst ( )-> setSoftSuspend ( false ); return rv; @@ -9,5 +9,4 @@ CONFIG_DICTIONARY noncore/apps/dictionary dictionary.pro CONFIG_GSMTOOL noncore/comm/gsmtool gsmtool.pro CONFIG_KEYVIEW development/keyview keyview.pro -CONFIG_ROTTEST development/rottest rottest.pro CONFIG_LAN noncore/unsupported/netsetup/lan lan.pro CONFIG_LIB noncore/unsupported/opiemail/lib lib.pro |