[dolphin] [Bug 448532] Dolphin crashed while copying files to external hard drive

Akseli Lahtinen bugzilla_noreply at kde.org
Fri Dec 1 11:27:30 GMT 2023


https://bugs.kde.org/show_bug.cgi?id=448532

Akseli Lahtinen <akselmo at akselmo.dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/-/commit/bdef648
                   |                            |edd54e146c30e881d8eb95990a5
                   |                            |9c5bbc

--- Comment #16 from Akseli Lahtinen <akselmo at akselmo.dev> ---
Git commit bdef648edd54e146c30e881d8eb95990a59c5bbc by Akseli Lahtinen.
Committed on 01/12/2023 at 12:27.
Pushed by akselmo into branch 'master'.

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.

M  +39   -51   src/widgets/widgetsaskuseractionhandler.cpp

https://invent.kde.org/frameworks/kio/-/commit/bdef648edd54e146c30e881d8eb95990a59c5bbc

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list