|
branches/KDE/4.3/kdebase/runtime/ktimezoned: msg#12960kde-commits
SVN commit 1005250 by winterz: backport SVN commit 1005136 by sengels: fix fromWCharArray M +1 -1 ktimezoned_win.cpp --- branches/KDE/4.3/kdebase/runtime/ktimezoned/ktimezoned_win.cpp #1005249:1005250 @@ -132,7 +132,7 @@ TIME_ZONE_INFORMATION tzinfo; DWORD res = GetTimeZoneInformation(&tzinfo); if (res == TIME_ZONE_ID_INVALID) return; // hm - mLocalZone = QString::fromWCharArray(tzinfo.StandardName); + mLocalZone = QString::fromUtf16( reinterpret_cast<ushort*>( tzinfo.StandardName ) ); if (mConfigLocalZone != mLocalZone) {
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |