Fix crash on clear disabled iconview search line

This resolves Bug 1735
pull/16/head
Slávek Banko 11 years ago
parent 5dc0b35424
commit b46a7c35c1

@ -127,6 +127,9 @@ void TDEIconViewSearchLine::updateSearch( const TQString &s )
void TDEIconViewSearchLine::clear()
{
if( ! d->iconView )
return; // disabled
// Clear hidden list, give items back to TQIconView, if it still exists
TQIconViewItem *item = NULL;

Loading…
Cancel
Save