[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/windowmanagement
From:       Carlo Segato <brandon.ml () gmail ! com>
Date:       2011-01-17 20:20:55
Message-ID: 20110117202055.19EA6AC8B6 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1215147 by segato:

fix compilation

 M  +1 -1      kwindowinfo_win.cpp  


--- trunk/KDE/kdelibs/kdeui/windowmanagement/kwindowinfo_win.cpp #1215146:1215147
@@ -297,7 +297,7 @@
     const int max = 256; // truncate to 255 characters
     TCHAR name[max];
     int count = GetClassName(d->win_, name, max);
-    return QString::fromUtf16(name).toLocal8Bit();
+    return QString::fromUtf16((ushort*)name).toLocal8Bit();
 }
 
 #if 0
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic