https://bugzilla.novell.com/show_bug.cgi?id=363251
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=363251#c2
Stefan Hundhammer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #2 from Stefan Hundhammer 2008-03-04 06:28:20 MST ---
Arg. This bug seems to have been introduced intentionally. I just can't believe
this.
void YQSelectionBox::deselectAllItems()
{
YSelectionBox::deselectAllItems();
_qt_listBox->clearSelection();
if ( _qt_listBox->currentRow() > -1 )
{
// Some item is selected after all; the Qt documtation says this
// happens if the QListBox is in single selection mode (which it is)
// and has the keyboard focus.
//
// Synchronize internal "selected" flags with what the QListBox
// displays. This has a small performance penalty because it calls
// YSelectionBox::deselectAllItems() again which again iterates over
// all items.
selectItem( _qt_listBox->row(_qt_listBox->currentItem()) );
}
}
Well, this is clearly too cheap.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.