Fix an #ifdef that referred to Nepomuk instead of Baloo

The query builder widget is now properly disabled when the user wants to look
for files by filename and not by content.
This commit is contained in:
Denis Steckelmacher 2014-09-10 13:04:45 +02:00
parent e3578ee3b7
commit 087f4cb808

View file

@ -273,7 +273,7 @@ void DolphinSearchBox::slotReturnPressed()
void DolphinSearchBox::updateSearchInputParsing()
{
#ifdef HAVE_NEPOMUK
#ifdef HAVE_BALOO
m_searchInput->setParsingEnabled(m_contentButton->isChecked());
#endif
}