mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Merge branch 'Applications/19.08'
This commit is contained in:
commit
fcf2d98447
|
@ -385,6 +385,9 @@ bool DolphinViewContainer::isFilterBarVisible() const
|
|||
|
||||
void DolphinViewContainer::setSearchModeEnabled(bool enabled)
|
||||
{
|
||||
m_searchBox->setVisible(enabled);
|
||||
m_navigatorWidget->setVisible(!enabled);
|
||||
|
||||
if (enabled) {
|
||||
const QUrl& locationUrl = m_urlNavigator->locationUrl();
|
||||
m_searchBox->fromSearchUrl(locationUrl);
|
||||
|
@ -398,9 +401,6 @@ void DolphinViewContainer::setSearchModeEnabled(bool enabled)
|
|||
return;
|
||||
}
|
||||
|
||||
m_searchBox->setVisible(enabled);
|
||||
m_navigatorWidget->setVisible(!enabled);
|
||||
|
||||
if (!enabled) {
|
||||
m_view->setViewPropertiesContext(QString());
|
||||
|
||||
|
|
Loading…
Reference in a new issue