From 01e8da96a688b8a84133b7c3e5a89c295a71d9fd Mon Sep 17 00:00:00 2001 From: kergoth Date: Wed, 26 Mar 2003 21:58:02 +0000 Subject: Instead of writing the entire QWS_DISPLAY field in setDefaultRotation, write out a single numeric rotation value field, which is the degrees to rotate. --- (limited to 'library/qpeapplication.cpp') diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 7463074..ac7b779 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -943,7 +943,7 @@ void QPEApplication::setDefaultRotation( int r ) setenv( "QWS_DISPLAY", QString( "Transformed:Rot%1:0" ).arg( r ).latin1(), 1 ); Config config("qpe"); config.setGroup( "Rotation" ); - config.writeEntry( "Screen", getenv("QWS_DISPLAY") ); + config.writeEntry( "Rot", r ); } else { #ifndef QT_NO_COP -- cgit v0.9.0.2