diff options
| author | Elvis Angelaccio <[email protected]> | 2020-12-15 23:28:15 +0100 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2020-12-15 23:28:15 +0100 |
| commit | 1b192c67f9735cd724c4958e7ba32a7b549770b6 (patch) | |
| tree | 7f5699a40997b704fa7971e0e229472c7af0f12d | |
| parent | 42cd439af882c78e6e3c1f6a58dd8d47ce47ff57 (diff) | |
| parent | aeea98837d22d018b4d738d0d64297f856e3955c (diff) | |
Merge branch 'release/20.12'
| -rw-r--r-- | src/dolphincontextmenu.cpp | 1 | ||||
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp index f95701e4f..eabd81e22 100644 --- a/src/dolphincontextmenu.cpp +++ b/src/dolphincontextmenu.cpp @@ -105,7 +105,6 @@ DolphinContextMenu::Command DolphinContextMenu::open() } else if (m_context & ItemContext) { openItemContextMenu(); } else { - Q_ASSERT(m_context == NoContext); openViewportContextMenu(); } diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 7260d2c4c..8dd309314 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -390,7 +390,7 @@ void DolphinViewContainer::setSearchModeEnabled(bool enabled) m_searchBox->setVisible(enabled); if (enabled) { - const QUrl& locationUrl = m_urlNavigatorConnected->locationUrl(); + const QUrl& locationUrl = m_urlNavigator->locationUrl(); m_searchBox->fromSearchUrl(locationUrl); } |
