logo       

KDE/kdebase/runtime/ktimezoned: msg#12842

kde-commits

Subject: KDE/kdebase/runtime/ktimezoned

SVN commit 1005136 by sengels:

fix fromWCharArray

M +1 -1 ktimezoned_win.cpp


--- trunk/KDE/kdebase/runtime/ktimezoned/ktimezoned_win.cpp #1005135:1005136
@@ -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)
{

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise