summaryrefslogtreecommitdiffstats
path: root/kdeui
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui')
-rw-r--r--kdeui/kiconviewsearchline.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kdeui/kiconviewsearchline.cpp b/kdeui/kiconviewsearchline.cpp
index aa97dc923..c2d865744 100644
--- a/kdeui/kiconviewsearchline.cpp
+++ b/kdeui/kiconviewsearchline.cpp
@@ -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;