author | kergoth <kergoth> | 2003-03-26 21:58:02 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-03-26 21:58:02 (UTC) |
commit | 01e8da96a688b8a84133b7c3e5a89c295a71d9fd (patch) (unidiff) | |
tree | 84ea398894de7dbf077273c6bbad3b9667d4fade | |
parent | 17ac2947f6485a31db216c431fa667192f1fc8a0 (diff) | |
download | opie-01e8da96a688b8a84133b7c3e5a89c295a71d9fd.zip opie-01e8da96a688b8a84133b7c3e5a89c295a71d9fd.tar.gz opie-01e8da96a688b8a84133b7c3e5a89c295a71d9fd.tar.bz2 |
Instead of writing the entire QWS_DISPLAY field in setDefaultRotation, write out a single numeric rotation value field, which is the degrees to rotate.
-rw-r--r-- | library/qpeapplication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) | |||
943 | setenv( "QWS_DISPLAY", QString( "Transformed:Rot%1:0" ).arg( r ).latin1(), 1 ); | 943 | setenv( "QWS_DISPLAY", QString( "Transformed:Rot%1:0" ).arg( r ).latin1(), 1 ); |
944 | Config config("qpe"); | 944 | Config config("qpe"); |
945 | config.setGroup( "Rotation" ); | 945 | config.setGroup( "Rotation" ); |
946 | config.writeEntry( "Screen", getenv("QWS_DISPLAY") ); | 946 | config.writeEntry( "Rot", r ); |
947 | } | 947 | } |
948 | else { | 948 | else { |
949 | #ifndef QT_NO_COP | 949 | #ifndef QT_NO_COP |