┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2020-12-15 23:28:15 +0100
committerElvis Angelaccio <[email protected]>2020-12-15 23:28:15 +0100
commit1b192c67f9735cd724c4958e7ba32a7b549770b6 (patch)
tree7f5699a40997b704fa7971e0e229472c7af0f12d
parent42cd439af882c78e6e3c1f6a58dd8d47ce47ff57 (diff)
parentaeea98837d22d018b4d738d0d64297f856e3955c (diff)
Merge branch 'release/20.12'
-rw-r--r--src/dolphincontextmenu.cpp1
-rw-r--r--src/dolphinviewcontainer.cpp2
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);
}