CVS commit by pletourn: Use the correct geometry for the draggable favicon M +4 -1 konq_combo.cc 1.42 --- kdebase/konqueror/konq_combo.cc #1.41:1.42 @@ -18,4 +18,5 @@ */ +#include #include #include @@ -448,5 +449,7 @@ void KonqCombo::mousePressEvent( QMouseE // check if the pixmap was clicked int x = e->pos().x(); - if ( x > 2 && x < lineEdit()->x() ) { + int x0 = QStyle::visualRect( style().querySubControlMetrics( QStyle::CC_ComboBox, this, QStyle::SC_ComboBoxEditField ), this ).x(); + + if ( x > x0 + 2 && x < lineEdit()->x() ) { m_dragStart = e->pos(); return; // don't call KComboBox::mousePressEvent!