Be more specific when disconnecting the signal

Fixes a crash, amends be48cb646c
This commit is contained in:
Daniel Molkentin 2013-08-18 19:39:08 +02:00
parent a9d94ef732
commit 2c8e95a0f4

View file

@ -152,7 +152,7 @@ void OwncloudWizard::slotCurrentPageChanged( int id )
} }
if( id == WizardCommon::Page_Result ) { if( id == WizardCommon::Page_Result ) {
disconnect(this, SIGNAL(basicSetupFinished(int))); disconnect(this, SIGNAL(finished(int)), this, SIGNAL(basicSetupFinished(int)));
emit basicSetupFinished(QDialog::Accepted); emit basicSetupFinished(QDialog::Accepted);
appendToConfigurationLog( QString::null ); appendToConfigurationLog( QString::null );
} }