summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/applets/rotateapplet/rotate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/applets/rotateapplet/rotate.cpp b/core/applets/rotateapplet/rotate.cpp
index 0da2f0c..dd71cad 100644
--- a/core/applets/rotateapplet/rotate.cpp
+++ b/core/applets/rotateapplet/rotate.cpp
@@ -129,27 +129,27 @@ void RotateApplet::rotateDefault ( )
rot=180;
break;
case Rot270:
rot=270;
break;
default:
rot=0;
break;
}
Config cfg( "qpe" );
cfg.setGroup( "Appearance" );
- bool rotateDisabled = cfg.readBoolEntry( "rotateEnabled",false );
+ bool rotateEnabled = cfg.readBoolEntry( "rotateEnabled",true );
- if (rotateDisabled == true)
+ if (rotateEnabled == false)
return;
// hide inputs methods before rotation
QCopEnvelope en( "QPE/TaskBar", "hideInputMethod()" );
QCopEnvelope env( "QPE/System", "setCurrentRotation(int)" );
env << rot;
m_flipped = false;
}
void RotateApplet::activated ( )