Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37827361
en ru br
ALT Linux repositórios
S:5.110.0-alt1

Group :: Sistema/Bibliotecas
RPM: kf5-kdelibs4support

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: alt-zonetab.patch
Download


--- 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();
 
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009