summaryrefslogtreecommitdiff
path: root/library
Side-by-side diff
Diffstat (limited to 'library') (more/less context) (show whitespace changes)
-rw-r--r--library/qpeapplication.cpp2
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 )
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