-rw-r--r-- | library/qpeapplication.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/library/qpeapplication.h b/library/qpeapplication.h index 82954d0..4c37ea6 100644 --- a/library/qpeapplication.h +++ b/library/qpeapplication.h | |||
@@ -160,21 +160,16 @@ inline int QPEApplication::execDialog( QDialog* d, bool nomax ) | |||
160 | showDialog(d,nomax); | 160 | showDialog(d,nomax); |
161 | return d->exec(); | 161 | return d->exec(); |
162 | } | 162 | } |
163 | 163 | ||
164 | enum Transformation { Rot0, Rot90, Rot180, Rot270 }; /* from qgfxtransformed_qws.cpp */ | 164 | enum Transformation { Rot0, Rot90, Rot180, Rot270 }; /* from qgfxtransformed_qws.cpp */ |
165 | 165 | ||
166 | inline void QPEApplication::setCurrentRotation( int r ) | 166 | inline void QPEApplication::setCurrentRotation( int r ) |
167 | { | 167 | { |
168 | if ( qApp->type() != GuiServer ) { | ||
169 | QCopEnvelope e( "QPE/System", "setCurrentRotation(int)" ); | ||
170 | e << r; | ||
171 | return; | ||
172 | } | ||
173 | Transformation e; | 168 | Transformation e; |
174 | 169 | ||
175 | switch (r) { | 170 | switch (r) { |
176 | case 0: | 171 | case 0: |
177 | e = Rot0; | 172 | e = Rot0; |
178 | break; | 173 | break; |
179 | case 90: | 174 | case 90: |
180 | e = Rot90; | 175 | e = Rot90; |