Add autologinUser to GlobalStorage.

main
Teo Mrnjavac 11 years ago
parent 1b695b7355
commit 57ee5ac26b

@ -95,8 +95,10 @@ UsersPage::createJobs()
ui->textBoxRootPassword->text() );
list.append( Calamares::job_ptr( j ) );
Calamares::JobQueue::instance()->
globalStorage()->insert( "hostname", ui->textBoxHostname->text() );
Calamares::GlobalStorage* gs = Calamares::JobQueue::instance()->globalStorage();
gs->insert( "hostname", ui->textBoxHostname->text() );
if ( ui->checkBoxLoginAuto->isChecked() )
gs->insert( "autologinUser", ui->textBoxUsername->text() );
return list;
}

Loading…
Cancel
Save