Switch to side-by-side view

--- a/src/qtgui/ssearchb.ui.h
+++ b/src/qtgui/ssearchb.ui.h
@@ -27,6 +27,7 @@
 *****************************************************************************/
 
 #include "debuglog.h"
+#include "guiutils.h"
 
 void SSearchBase::init()
 {
@@ -40,9 +41,13 @@
     if (text.isEmpty()) {
 	searchPB->setEnabled(false);
 	clearqPB->setEnabled(false);
+	emit clearSearch();
     } else {
 	searchPB->setEnabled(true);
 	clearqPB->setEnabled(true);
+	string u8 =  (const char *)queryText->text().utf8();
+	if (prefs.autoSearchOnWS && !u8.empty() && u8[u8.length()-1] == ' ')
+	    startSimpleSearch();
     }
 }