The '%' character doesn't have to be escaped anymore.
[toast/confclerk.git] / src / gui / searchtabcontainer.cpp
index d9b050c..246b4ea 100644 (file)
@@ -83,8 +83,7 @@ void SearchTabContainer::searchButtonClicked()
     if( searchHeader->searchRoom->isChecked() )
         columns["ROOM"] = "name";
 
-    QString keyword = searchHeader->searchEdit->text().replace( QString("%"), QString("\\%") );
-    //qDebug() << "\nKeyword to search: " << keyword;
+    QString keyword = searchHeader->searchEdit->text();
 
     int confId = Conference::activeConference();
     SqlEngine::searchEvent( confId, columns, keyword );