Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37509719
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: 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();
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin