Changeset View
Changeset View
Standalone View
Standalone View
src/dolphinviewcontainer.cpp
Show First 20 Lines • Show All 406 Lines • ▼ Show 20 Line(s) | 402 | } else { | |||
---|---|---|---|---|---|
407 | QUrl url = m_searchBox->searchPath(); | 407 | QUrl url = m_searchBox->searchPath(); | ||
408 | if (url.isEmpty() || !url.isValid() || isSearchUrl(url)) { | 408 | if (url.isEmpty() || !url.isValid() || isSearchUrl(url)) { | ||
409 | url = Dolphin::homeUrl(); | 409 | url = Dolphin::homeUrl(); | ||
410 | } | 410 | } | ||
411 | m_urlNavigator->setLocationUrl(url); | 411 | m_urlNavigator->setLocationUrl(url); | ||
412 | } | 412 | } | ||
413 | 413 | | |||
414 | m_searchModeEnabled = enabled; | 414 | m_searchModeEnabled = enabled; | ||
415 | | ||||
416 | emit searchModeEnabledChanged(enabled); | ||||
415 | } | 417 | } | ||
416 | 418 | | |||
417 | bool DolphinViewContainer::isSearchModeEnabled() const | 419 | bool DolphinViewContainer::isSearchModeEnabled() const | ||
418 | { | 420 | { | ||
419 | return m_searchModeEnabled; | 421 | return m_searchModeEnabled; | ||
420 | } | 422 | } | ||
421 | 423 | | |||
422 | QString DolphinViewContainer::placesText() const | 424 | QString DolphinViewContainer::placesText() const | ||
▲ Show 20 Lines • Show All 383 Lines • Show Last 20 Lines |