[users] add fullname to global storage
This commit is contained in:
parent
baf8ef2c33
commit
cc3ab110ee
@ -445,6 +445,15 @@ Config::setFullName( const QString& name )
|
||||
if ( name != m_fullName )
|
||||
{
|
||||
m_fullName = name;
|
||||
Calamares::GlobalStorage* gs = Calamares::JobQueue::instance()->globalStorage();
|
||||
if ( name.isEmpty() )
|
||||
{
|
||||
gs->remove( "fullname" );
|
||||
}
|
||||
else
|
||||
{
|
||||
gs->insert( "fullname", name );
|
||||
}
|
||||
emit fullNameChanged( name );
|
||||
|
||||
// Build login and hostname, if needed
|
||||
|
Loading…
Reference in New Issue
Block a user