summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/launcher/main.cpp b/core/launcher/main.cpp
index fa4df3c..a6e2a9d 100644
--- a/core/launcher/main.cpp
+++ b/core/launcher/main.cpp
@@ -81,3 +81,3 @@ void initEnvironment()
*/
- if ( ( rot = QPEApplication::defaultRotation ( ) ) == 0 ) {
+ if ( getenv("QWS_DISPLAY") == NULL ) {
Config config("qpe");
@@ -86,3 +86,2 @@ void initEnvironment()
rot = ODevice::inst ( )-> rotation ( ) * 90;
- }
@@ -91,2 +90,3 @@ void initEnvironment()
}
+}