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
This commit is contained in:
Wolfgang Bauer 2020-12-23 07:32:14 +00:00 committed by Git OBS Bridge
parent a32f572178
commit c8f21a8ab3
3 changed files with 35 additions and 0 deletions

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Dec 22 21:59:29 UTC 2020 - Luca Beltrame <lbeltrame@kde.org>
- Add upstream patch to fix crash on launch (kde#429628,
kde#430434):
* 0001-Fix-access-url-navigator-while-creating-new-tab-in-f.patch
-------------------------------------------------------------------
Thu Dec 10 19:14:25 UTC 2020 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@ -32,6 +32,7 @@ Source3: dolphinsu.desktop
Patch0: dolphin-go_up.diff
# PATCH-FIX-UPSTREAM
Patch1: 0001-Update-cached-viewContainer-geometry-every-time-they.patch
Patch2: 0001-Fix-access-url-navigator-while-creating-new-tab-in-f.patch
# PATCH-FIX-OPENSUSE
Patch100: 0001-Revert-Disallow-executing-Dolphin-as-root-on-Linux.patch
BuildRequires: extra-cmake-modules >= 1.6.0