mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 02:45:44 -05:00
[locale] Fix build with DEBUG_TIMEZONE
- all the API changes were not reflected in the debugging code
This commit is contained in:
parent
fb9d53909e
commit
e164f8d63a
1 changed files with 3 additions and 4 deletions
|
@ -75,9 +75,9 @@ TimeZoneWidget::TimeZoneWidget( QWidget* parent )
|
|||
#ifdef DEBUG_TIMEZONES
|
||||
if ( timeZoneImages.last().size() != background.size() )
|
||||
{
|
||||
cWarning() << "Timezone image size mismatch" << zones.at( i ) << timeZoneImages.last().size();
|
||||
cWarning() << "Timezone image size mismatch" << zoneName << timeZoneImages.last().size();
|
||||
}
|
||||
timeZoneImages.last().setText( ZONE_NAME, zones.at( i ) );
|
||||
timeZoneImages.last().setText( ZONE_NAME, zoneName );
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
@ -111,8 +111,7 @@ TimeZoneWidget::setCurrentLocation( const CalamaresUtils::Locale::TZZone* locati
|
|||
QPoint pos = getLocationPosition( currentLocation.longitude, currentLocation.latitude );
|
||||
|
||||
#ifdef DEBUG_TIMEZONES
|
||||
cDebug() << "Setting location" << location.region << location.zone << location.country;
|
||||
cDebug() << Logger::SubEntry << "longitude" << location.longitude << "latitude" << location.latitude;
|
||||
cDebug() << "Setting location" << location->region() << *location;
|
||||
cDebug() << Logger::SubEntry << "pixel x" << pos.x() << "pixel y" << pos.y();
|
||||
|
||||
bool found = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue