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

Akseli Lahtinen <akse...@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 <akse...@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 watching all bug changes.

Reply via email to