Skip to content
Snippets Groups Projects
Commit b96bdd38 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

wizard: turn of camera when leaving photobooth page

Change-Id: Ib8ad0d16776b02b2af76e08fa48bb01ee8d29855
parent 4d23e33e
No related branches found
No related tags found
No related merge requests found
......@@ -260,10 +260,8 @@ void
NewWizardWidget::on_nextButton_clicked()
{
const QWidget* curWidget = ui->stackedWidget->currentWidget();
if (curWidget != ui->createRingAccountPage) {
ui->setAvatarWidget->stopBooth();
disconnect(registeredNameFoundConnection_);
}
if (curWidget == ui->createRingAccountPage ||
curWidget == ui->linkRingAccountPage) {
processWizardInformations();
......@@ -274,12 +272,10 @@ void
NewWizardWidget::on_previousButton_clicked()
{
const QWidget* curWidget = ui->stackedWidget->currentWidget();
if (curWidget != ui->createRingAccountPage) {
ui->setAvatarWidget->stopBooth();
disconnect(registeredNameFoundConnection_);
lookupStatusLabel_->hide();
passwordStatusLabel_->hide();
}
if (curWidget == ui->createRingAccountPage ||
curWidget == ui->linkRingAccountPage) {
changePage(ui->welcomePage);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment