dolphin/0001-Fix-access-url-navigator-while-creating-new-tab-in-f.patch
Wolfgang Bauer c8f21a8ab3 Accepting request 858221 from home:luca_b:branches:KDE:Applications
- Add upstream patch to fix crash on launch (kde#429628,
  kde#430434):
  * 0001-Fix-access-url-navigator-while-creating-new-tab-in-f.patch

OBS-URL: https://build.opensuse.org/request/show/858221
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/dolphin?expand=0&rev=236
2020-12-23 07:32:14 +00:00

28 lines
930 B
Diff

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);
}
--
2.29.2