@ -279,7 +279,7 @@ QtObject {
if ( popupLocation & Qt . AlignTop ) {
if ( popupLocation & Qt . AlignTop ) {
/ / W e w a n t t o c a l c u l a t e t h e n e w p o s i t i o n b a s e d o n i t s o r i g i n a l t a r g e t p o s i t i o n t o a v o i d p o s i t i o n i n g i t a n d t h e n
/ / W e w a n t t o c a l c u l a t e t h e n e w p o s i t i o n b a s e d o n i t s o r i g i n a l t a r g e t p o s i t i o n t o a v o i d p o s i t i o n i n g i t a n d t h e n
/ / p o s i t i o n i n g i t a g a i n , h e n c e t h e t e m p o r a r y Q t . r e c t w i t h e x p l i c i t " y " a n d n o t j u s t t h e p o p u p a s a w h o l e
/ / p o s i t i o n i n g i t a g a i n , h e n c e t h e t e m p o r a r y Q t . r e c t w i t h e x p l i c i t " y " a n d n o t j u s t t h e p o p u p a s a w h o l e
if ( focusDialog && focusDialog . visible && focusDialog !== popup
if ( focusDialog && focusDialog . visible && ! ( focusDialog instanceof NotificationPopup )
&& rectIntersect ( focusDialog , Qt . rect ( popup . x , y , popup . width , popup . height ) ) ) {
&& rectIntersect ( focusDialog , Qt . rect ( popup . x , y , popup . width , popup . height ) ) ) {
y = focusDialog . y + focusDialog . height + popupEdgeDistance ;
y = focusDialog . y + focusDialog . height + popupEdgeDistance ;
}
}
@ -289,7 +289,7 @@ QtObject {
y += popup . height + ( popup . height > 0 ? popupSpacing : 0 ) ;
y += popup . height + ( popup . height > 0 ? popupSpacing : 0 ) ;
} else {
} else {
y -= popup . height ;
y -= popup . height ;
if ( focusDialog && focusDialog . visible && focusDialog !== popup
if ( focusDialog && focusDialog . visible && ! ( focusDialog instanceof NotificationPopup )
&& rectIntersect ( focusDialog , Qt . rect ( popup . x , y , popup . width , popup . height ) ) ) {
&& rectIntersect ( focusDialog , Qt . rect ( popup . x , y , popup . width , popup . height ) ) ) {
y = focusDialog . y - popup . height - popupEdgeDistance ;
y = focusDialog . y - popup . height - popupEdgeDistance ;
}
}