-rw-r--r-- | core/applets/volumeapplet/volume.cpp | 2 | ||||
-rw-r--r-- | noncore/applets/wirelessapplet/wireless.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/applets/volumeapplet/volume.cpp b/core/applets/volumeapplet/volume.cpp index 11ba2f6..7f0aca5 100644 --- a/core/applets/volumeapplet/volume.cpp +++ b/core/applets/volumeapplet/volume.cpp | |||
@@ -514,9 +514,9 @@ void VolumeControl::show ( bool /*showMic*/ ) | |||
514 | 514 | ||
515 | if (( x + w ) > QPEApplication::desktop ( )-> width ( )) | 515 | if (( x + w ) > QPEApplication::desktop ( )-> width ( )) |
516 | x = QPEApplication::desktop ( )-> width ( ) - w; | 516 | x = QPEApplication::desktop ( )-> width ( ) - w; |
517 | 517 | ||
518 | move ( x, curPos. y ( ) - sizeHint ( ). height ( )); | 518 | move ( QMAX(x,0), curPos. y ( ) - sizeHint ( ). height ( )); |
519 | QFrame::show ( ); | 519 | QFrame::show ( ); |
520 | 520 | ||
521 | } | 521 | } |
522 | 522 | ||
diff --git a/noncore/applets/wirelessapplet/wireless.cpp b/noncore/applets/wirelessapplet/wireless.cpp index 364f3ad..88ab032 100644 --- a/noncore/applets/wirelessapplet/wireless.cpp +++ b/noncore/applets/wirelessapplet/wireless.cpp | |||
@@ -158,9 +158,9 @@ void WirelessControl::show ( bool ) | |||
158 | 158 | ||
159 | if ( ( x + w ) > QPEApplication::desktop() ->width() ) | 159 | if ( ( x + w ) > QPEApplication::desktop() ->width() ) |
160 | x = QPEApplication::desktop ( ) -> width ( ) - w; | 160 | x = QPEApplication::desktop ( ) -> width ( ) - w; |
161 | 161 | ||
162 | move( x, curPos.y () - sizeHint().height () ); | 162 | move( QMAX(x,0), curPos.y () - sizeHint().height () ); |
163 | QFrame::show(); | 163 | QFrame::show(); |
164 | } | 164 | } |
165 | 165 | ||
166 | void WirelessControl::readConfig() | 166 | void WirelessControl::readConfig() |