From 6506e8c8403e6d6a29f1ef4d2c90bee56cf95240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Wed, 23 Dec 2020 01:38:35 -0300 Subject: [PATCH] kio: backport fix for crashing in dolphin. --- srcpkgs/kio/patches/fix-crash.patch | 29 +++++++++++++++++++++++++++++ srcpkgs/kio/template | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/kio/patches/fix-crash.patch diff --git a/srcpkgs/kio/patches/fix-crash.patch b/srcpkgs/kio/patches/fix-crash.patch new file mode 100644 index 00000000000..163a0428c19 --- /dev/null +++ b/srcpkgs/kio/patches/fix-crash.patch @@ -0,0 +1,29 @@ +From 9dc9e26b9196111eeacb5609b36957f74f5a14c4 Mon Sep 17 00:00:00 2001 +From: Ismael Asensio +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 + diff --git a/srcpkgs/kio/template b/srcpkgs/kio/template index 3d949783039..6cde3c9b403 100644 --- a/srcpkgs/kio/template +++ b/srcpkgs/kio/template @@ -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"