kio: backport fix for crashing in dolphin.
This commit is contained in:
parent
1b27974108
commit
6506e8c840
2 changed files with 30 additions and 1 deletions
29
srcpkgs/kio/patches/fix-crash.patch
Normal file
29
srcpkgs/kio/patches/fix-crash.patch
Normal file
|
@ -0,0 +1,29 @@
|
|||
From 9dc9e26b9196111eeacb5609b36957f74f5a14c4 Mon Sep 17 00:00:00 2001
|
||||
From: Ismael Asensio <isma.af@gmail.com>
|
||||
Date: Tue, 22 Dec 2020 22:23:17 +0100
|
||||
Subject: [PATCH] RenameDialog: Add missing nullptr initialization
|
||||
|
||||
It fixes a crash when pressing `Apply to All` in those cases where
|
||||
the action was not present, as the code checks for nullptr
|
||||
|
||||
BUG: 430374
|
||||
FIXED-IN: 5.78
|
||||
---
|
||||
src/widgets/renamedialog.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/widgets/renamedialog.cpp b/src/widgets/renamedialog.cpp
|
||||
index ac1d91d2..c3e04753 100644
|
||||
--- src/widgets/renamedialog.cpp
|
||||
+++ src/widgets/renamedialog.cpp
|
||||
@@ -161,6 +161,7 @@ public:
|
||||
bCancel = nullptr;
|
||||
bRename = bSkip = nullptr;
|
||||
bOverwrite = nullptr;
|
||||
+ bOverwriteWhenOlder = nullptr;
|
||||
bResume = bSuggestNewName = nullptr;
|
||||
bApplyAll = nullptr;
|
||||
m_pLineEdit = nullptr;
|
||||
--
|
||||
GitLab
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'kio'
|
||||
pkgname=kio
|
||||
version=5.77.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_TESTING=OFF
|
||||
-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
||||
|
|
Loading…
Reference in a new issue