Revision 7a1543f...

Go back to digest for 12th January 2014

Bug Fixes in KDE Base

Frank Reininghaus committed changes in [kio] /:

Make KFileItemActions the parent of the actions it creates

This prevents the problem that the destructor of KFileItemActions may
delete dangling pointers if the widget that is set with setParentWidget
is destroyed before the KFileItemActions instance (note that this widget
was the parent of the actions before this commit, but that
KFileItemActions stll remembered them in d->m_ownActions and deleted
them in the destructor.)

REVIEW: 114921

File Changes

Added 1 files
  • autotests/kfileitemactionstest.cpp
Modified 3 files
  •   autotests/CMakeLists.txt
  •   src/widgets/kfileitemactions.cpp
  •   src/widgets/kfileitemactions_p.h
4 files changed in total