Fix crash on clear disabled iconview search line

This resolves Bug 1735
(cherry picked from commit b46a7c35c1)
v3.5.13-sru
Slávek Banko 11 years ago
parent d6a1b97ba8
commit db1b69a237

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

Loading…
Cancel
Save