Commit ee19b6fd authored by Tobias Koenig's avatar Tobias Koenig
Browse files

Do not auto-delete the dialog.

The applications that use this dialog (kmail/kjots/kres-migrator)
call infoDialog->hasError() after the app.exec() call.
With the deleteLater() call, this would imply that the dialog has
already been deleted at this point. So we just 'leak' the dialog,
the application is terminated at this point anyway.

svn path=/trunk/KDE/kdepim/runtime/; revision=1200805
parent 150074ea
......@@ -62,8 +62,6 @@ InfoDialog::InfoDialog( bool closeWhenDone ) :
statusLayout->addWidget( mProgressBar );
setMainWidget( widget );
connect( this, SIGNAL(closeClicked()), SLOT(deleteLater()) );
}
InfoDialog::~InfoDialog()
......
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