diff -r 1abfa342db42 -r 367228f82b66 searchui/indevicehandler/src/indevicehandler.cpp --- a/searchui/indevicehandler/src/indevicehandler.cpp Tue Sep 28 11:50:55 2010 +0530 +++ b/searchui/indevicehandler/src/indevicehandler.cpp Tue Oct 05 13:32:14 2010 +0530 @@ -208,15 +208,8 @@ mSearchInterface = NULL; } if (astring.length()) - { - QString database("root "); - database.append(astring); - mSearchInterface = CpixSearcher::newInstance(database, - DEFAULT_SEARCH_FIELD); - } - else - { - mSearchInterface = CpixSearcher::newInstance("root", + { + mSearchInterface = CpixSearcher::newInstance(astring, DEFAULT_SEARCH_FIELD); } if (mSearchInterface) @@ -230,7 +223,6 @@ SLOT(getBatchDocumentAsync(int,int,CpixDocument**))); } } - // --------------------------------------------------------------------------- // InDeviceHandler::isPrepared() // verify the mSearchInterface is prepared or not