[dolphin] [Bug 448532] Dolphin crashed while copying files to external hard drive
Méven Car
bugzilla_noreply at kde.org
Fri Dec 15 08:49:33 GMT 2023
https://bugs.kde.org/show_bug.cgi?id=448532
Méven Car <meven.car at kdemail.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Latest Commit|https://invent.kde.org/fram |https://invent.kde.org/fram
|eworks/kio/-/commit/bdef648 |eworks/kio/-/commit/6bea074
|edd54e146c30e881d8eb95990a5 |739d5a75920d5540bc266549df5
|9c5bbc |642511
--- Comment #17 from Méven Car <meven.car at kdemail.net> ---
Git commit 6bea074739d5a75920d5540bc266549df5642511 by Méven Car, on behalf of
Akseli Lahtinen.
Committed on 15/12/2023 at 09:48.
Pushed by meven into branch 'kf5'.
WidgetsAskUserActionHandler: Use QPointer to check the validity of parent
widgets
If Dolphin is closed during the copying process,
and the overwrite/skip dialog appears,
this crashes the copying process since the
parent shows to faulty location.
Use QPointer to check that the parent widgets are still
valid. If not, we just use nullptr, and the dialogs
will still open.
This also cleans some repetition in code.
(cherry picked from commit bdef648edd54e146c30e881d8eb95990a59c5bbc)
M +39 -51 src/widgets/widgetsaskuseractionhandler.cpp
https://invent.kde.org/frameworks/kio/-/commit/6bea074739d5a75920d5540bc266549df5642511
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list