summaryrefslogtreecommitdiff
path: root/kde-apps/dolphin/files/dolphin-20.12.0-crashfix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/dolphin/files/dolphin-20.12.0-crashfix.patch')
-rw-r--r--kde-apps/dolphin/files/dolphin-20.12.0-crashfix.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/kde-apps/dolphin/files/dolphin-20.12.0-crashfix.patch b/kde-apps/dolphin/files/dolphin-20.12.0-crashfix.patch
new file mode 100644
index 000000000000..65350b7ba3e6
--- /dev/null
+++ b/kde-apps/dolphin/files/dolphin-20.12.0-crashfix.patch
@@ -0,0 +1,27 @@
+From c95d7fae79a309ed7f2df393fa20257cb20d54a8 Mon Sep 17 00:00:00 2001
+From: Anthony Fieroni <bvbfan@abv.bg>
+Date: Sat, 12 Dec 2020 12:36:23 +0200
+Subject: [PATCH] Fix access url navigator while creating new tab in filename
+ search view BUG: 429628 BUG: 430434
+
+Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
+---
+ src/dolphinviewcontainer.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+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);
+ }
+
+--
+GitLab
+