|
|
|
@ -685,7 +685,7 @@ bool KColorCombo2::eventFilter(TQObject */*object*/, TQEvent *event)
|
|
|
|
|
case TQEvent::MouseButtonDblClick:
|
|
|
|
|
case TQEvent::MouseButtonPress:
|
|
|
|
|
mouseEvent = (TQMouseEvent*)event;
|
|
|
|
|
if ( !TQT_TQRECT_OBJECT(m_popup->rect()).contains(mouseEvent->pos()) ) {
|
|
|
|
|
if ( !m_popup->rect().contains(mouseEvent->pos()) ) {
|
|
|
|
|
TQPoint globalPos = m_popup->mapToGlobal(mouseEvent->pos());
|
|
|
|
|
if (TQApplication::widgetAt(globalPos, /*child=*/true) == this) {
|
|
|
|
|
// The popup is being closed by a click on the KColorCombo2 widget.
|
|
|
|
|