┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2009-11-25 17:48:41 +0000
committerFrank Reininghaus <[email protected]>2009-11-25 17:48:41 +0000
commit5592947ec2f733c3052cbcf510e214c9880bb669 (patch)
tree79a4a43947b689766856da13ec8556c9b6f59072 /src/dolphinmainwindow.cpp
parentab39a5952001cdb3d1b9ca693da7f8e246558fb8 (diff)
Fix Dolphin crash on startup if HAVE_NEPOMUK is false.
svn path=/trunk/KDE/kdebase/apps/; revision=1054165
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index df73804dc..6e2b81390 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -1118,8 +1118,10 @@ void DolphinMainWindow::init()
m_searchBox->show();
connect(m_searchBox, SIGNAL(requestSearchOptions()),
this, SLOT(showSearchOptions()));
+#ifdef HAVE_NEPOMUK
connect(m_searchBox, SIGNAL(searchTextChanged(QString)),
m_searchOptionsConfigurator, SLOT(setCustomSearchQuery(QString)));
+#endif
stateChanged("new_file");