mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 08:28:22 -04:00
Add autologinUser to GlobalStorage.
This commit is contained in:
parent
1b695b7355
commit
57ee5ac26b
1 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue