diff options
| author | Frank Reininghaus <[email protected]> | 2009-11-25 17:48:41 +0000 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2009-11-25 17:48:41 +0000 |
| commit | 5592947ec2f733c3052cbcf510e214c9880bb669 (patch) | |
| tree | 79a4a43947b689766856da13ec8556c9b6f59072 /src/dolphinmainwindow.cpp | |
| parent | ab39a5952001cdb3d1b9ca693da7f8e246558fb8 (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.cpp | 2 |
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"); |
