Add autologinUser to GlobalStorage.

This commit is contained in:
Teo Mrnjavac 2014-08-01 11:19:50 +02:00
parent 1b695b7355
commit 57ee5ac26b

View File

@ -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;
}