Add autologinUser to GlobalStorage.
This commit is contained in:
parent
1b695b7355
commit
57ee5ac26b
@ -95,8 +95,10 @@ UsersPage::createJobs()
|
|||||||
ui->textBoxRootPassword->text() );
|
ui->textBoxRootPassword->text() );
|
||||||
list.append( Calamares::job_ptr( j ) );
|
list.append( Calamares::job_ptr( j ) );
|
||||||
|
|
||||||
Calamares::JobQueue::instance()->
|
Calamares::GlobalStorage* gs = Calamares::JobQueue::instance()->globalStorage();
|
||||||
globalStorage()->insert( "hostname", ui->textBoxHostname->text() );
|
gs->insert( "hostname", ui->textBoxHostname->text() );
|
||||||
|
if ( ui->checkBoxLoginAuto->isChecked() )
|
||||||
|
gs->insert( "autologinUser", ui->textBoxUsername->text() );
|
||||||
|
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user