From 88cc0cc17864de6e36bdeedaae6df0a5cc738c5a Mon Sep 17 00:00:00 2001 From: deller Date: Fri, 01 Apr 2005 22:46:30 +0000 Subject: show the popups inside the visible screen --- (limited to 'core/applets') 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 @@ -515,7 +515,7 @@ void VolumeControl::show ( bool /*showMic*/ ) if (( x + w ) > QPEApplication::desktop ( )-> width ( )) x = QPEApplication::desktop ( )-> width ( ) - w; - move ( x, curPos. y ( ) - sizeHint ( ). height ( )); + move ( QMAX(x,0), curPos. y ( ) - sizeHint ( ). height ( )); QFrame::show ( ); } -- cgit v0.9.0.2