summaryrefslogtreecommitdiff
path: root/kde-apps/dolphin/files/dolphin-20.12.0-crashfix.patch
blob: 65350b7ba3e62b3fbb43c31b53f7493bd9c31b26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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