Commit c4682916 authored by Jan Möbius's avatar Jan Möbius

Fixed crash on exit if side element toolbox is detached

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17192 383ad7c9-94d9-4d36-a494-682f7c89f535
parent b1a33a49
...@@ -129,8 +129,10 @@ SideElement::SideElement (SideArea *_parent, QWidget *_w, QString _name, QIcon* ...@@ -129,8 +129,10 @@ SideElement::SideElement (SideArea *_parent, QWidget *_w, QString _name, QIcon*
SideElement::~SideElement () SideElement::~SideElement ()
{ {
if (dialog_) if (dialog_) {
disconnect(dialog_,SIGNAL(finished(int)),this,SLOT(dialogClosed()));
dialog_->close (); dialog_->close ();
}
widget_->setParent (0); widget_->setParent (0);
} }
......
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