summaryrefslogtreecommitdiffstats
path: root/systemsettings/kcmsearch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'systemsettings/kcmsearch.cpp')
-rw-r--r--systemsettings/kcmsearch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemsettings/kcmsearch.cpp b/systemsettings/kcmsearch.cpp
index 6f36c63..8cfb319 100644
--- a/systemsettings/kcmsearch.cpp
+++ b/systemsettings/kcmsearch.cpp
@@ -28,7 +28,7 @@
#include "moduleiconitem.h"
KcmSearch::KcmSearch( TQPtrList<ModulesView> *moduleViewList, TQWidget *parent, const char *name )
- : KIconViewSearchLine(parent, moduleViewList->at(0)->groups[0], name){
+ : KIconViewSearchLine(parent, (moduleViewList->at(0))?moduleViewList->at(0)->groups[0]:NULL, name){
this->moduleViewList = moduleViewList;
}