Commit 2efd53a5 authored by Cyrille Berger's avatar Cyrille Berger

settings widget are better deleted in the paintop box

svn path=/trunk/koffice/; revision=1084726
parent 9864ab17
......@@ -50,7 +50,6 @@ KisPaintOpSettings::KisPaintOpSettings()
KisPaintOpSettings::~KisPaintOpSettings()
{
delete d->settingsWidget;
delete d;
}
......
......@@ -119,6 +119,7 @@ KisPaintopBox::~KisPaintopBox()
{
// Do not delete the widget, since it it is global to the application, not owned by the view
m_presetsPopup->setPaintOpSettingsWidget(0);
qDeleteAll(m_paintopOptionWidgets);
}
KisPaintOpPresetSP KisPaintopBox::paintOpPresetSP(KoID* paintop)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment