blob: d24a0d976c01ac45bcfd426d5debe8db05f3cb8d (
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
28
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
--- a/src/widgets/renamedialog.cpp
+++ b/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
|