Группа :: Система/Библиотеки
Пакет: kf5-kdelibs4support
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: alt-zonetab.patch
Скачать
Скачать
--- a/src/kdecore/ksystemtimezone.cpp
+++ b/src/kdecore/ksystemtimezone.cpp
@@ -521,7 +521,8 @@ void KSystemTimeZonesPrivate::readZoneTa
// Note: KTzfileTimeZone is used in preference to KSystemTimeZone because of
// the large overhead incurred by tzset() - see KSystemTimeZones class
// description for details.
- const KTzfileTimeZone tz(tzfileSource(), tokens[2], tokens[0], latitude, longitude, (n > 3 ? tokens[3] : QString()));
+for(const QString country: tokens[0].split(QLatin1Char(','), QString::SkipEmptyParts)) {
+ const KTzfileTimeZone tz(tzfileSource(), tokens[2], country, latitude, longitude, (n > 3 ? tokens[3] : QString()));
if (update) {
// Update the existing collection with the new zone definition
newZones += tz.name();
@@ -534,6 +535,7 @@ void KSystemTimeZonesPrivate::readZoneTa
} else {
add(tz);
}
+}
}
f.close();