-rw-r--r-- | library/qpeapplication.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/qpeapplication.h b/library/qpeapplication.h index 5c18836..7f74510 100644 --- a/library/qpeapplication.h +++ b/library/qpeapplication.h | |||
@@ -160,29 +160,29 @@ inline int QPEApplication::execDialog( QDialog* d, bool nomax ) | |||
160 | enum Transformation { Rot0, Rot90, Rot180, Rot270 }; /* from qgfxtransformed_qws.cpp */ | 160 | enum Transformation { Rot0, Rot90, Rot180, Rot270 }; /* from qgfxtransformed_qws.cpp */ |
161 | 161 | ||
162 | inline void QPEApplication::setCurrentRotation( int r ) | 162 | inline void QPEApplication::setCurrentRotation( int r ) |
163 | { | 163 | { |
164 | Transformation e; | 164 | Transformation e; |
165 | 165 | ||
166 | switch (r) { | 166 | switch (r) { |
167 | case 0: | 167 | case 0: |
168 | e = Rot0; | 168 | e = Rot0; |
169 | break; | 169 | break; |
170 | case 90: | 170 | case 90: |
171 | e = Rot90; | 171 | e = Rot90; |
172 | break; | 172 | break; |
173 | case 180: | 173 | case 180: |
174 | e = Rot180; | 174 | e = Rot180; |
175 | break; | 175 | break; |
176 | case 270: | 176 | case 270: |
177 | e = Rot270; | 177 | e = Rot270; |
178 | break; | 178 | break; |
179 | default: | 179 | default: |
180 | return; | 180 | return; |
181 | } | 181 | } |
182 | 182 | ||
183 | qDebug("calling qApp->desktop()->qwsDisplay()->setTransformation( %d )\n", e); | 183 | qDebug("calling qApp->desktop()->qwsDisplay()->setTransformation( %d )\n", e); |
184 | //qApp->desktop()->qwsDisplay()->setTransformation( e ); | 184 | qApp->desktop()->qwsDisplay()->setTransformation( e ); |
185 | } | 185 | } |
186 | 186 | ||
187 | 187 | ||
188 | #endif | 188 | #endif |