-rw-r--r-- | core/launcher/main.cpp | 20 | ||||
-rwxr-xr-x | mkipks | 1 | ||||
-rw-r--r-- | packages | 1 |
3 files changed, 20 insertions, 2 deletions
diff --git a/core/launcher/main.cpp b/core/launcher/main.cpp index 49b41d6..1e5eb46 100644 --- a/core/launcher/main.cpp +++ b/core/launcher/main.cpp @@ -68,2 +68,3 @@ void initEnvironment() setenv( "LANG", lang, 1 ); + } @@ -73,2 +74,4 @@ int initApplication( int argc, char ** argv ) { + struct ODevice *odev = ODevice::inst(); + initEnvironment(); @@ -83,3 +86,16 @@ int initApplication( int argc, char ** argv ) - ODevice::inst ( )-> setSoftSuspend ( true ); + 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 ); @@ -126,3 +142,3 @@ int initApplication( int argc, char ** argv ) - ODevice::inst ( )-> setSoftSuspend ( false ); + odev-> setSoftSuspend ( false ); @@ -3,2 +3,3 @@ [ -z "$QTE_VERSION" ] && QTE_VERSION=2.3.4 +[ -z "$QTE_BASEVERSION" ] && QTE_BASEVERSION=2.3.4 [ -z "$QTE_REVISION" ] && QTE_REVISION=3 @@ -10,2 +10,3 @@ 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 |