mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 02:45:37 -04:00
[locale] Remove useless localeglobal
- Although ::init() was called, none of the actual functionality from localeglobal was still in use.
This commit is contained in:
parent
36d9e7d8f4
commit
4b65600c08
10 changed files with 7 additions and 201 deletions
|
@ -209,7 +209,13 @@ Config::updateGlobalStorage()
|
|||
const auto* location = currentLocation();
|
||||
bool locationChanged = ( location->region() != gs->value( "locationRegion" ) )
|
||||
|| ( location->zone() != gs->value( "locationZone" ) );
|
||||
|
||||
#ifdef DEBUG_TIMEZONES
|
||||
if ( locationChanged )
|
||||
{
|
||||
cDebug() << "Location changed" << gs->value( "locationRegion" ) << ',' << gs->value( "locationZone" ) << "to"
|
||||
<< location->region() << ',' << location->zone();
|
||||
}
|
||||
#endif
|
||||
gs->insert( "locationRegion", location->region() );
|
||||
gs->insert( "locationZone", location->zone() );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue