KDE/kdelibs/kdeui/notifications

Aurélien Gâteau agateau at kde.org
Fri Feb 19 12:26:38 CET 2010


SVN commit 1092666 by gateau:

Fix funky look of tray icon bottom half on 64bit machines

CCMAIL:plasma-devel at kde.org

 M  +1 -1      kstatusnotifieritem.cpp  


--- trunk/KDE/kdelibs/kdeui/notifications/kstatusnotifieritem.cpp #1092665:1092666
@@ -846,7 +846,7 @@
     //swap to network byte order if we are little endian
     if (QSysInfo::ByteOrder == QSysInfo::LittleEndian) {
         quint32 *uintBuf = (quint32 *) icon.data.data();
-        for (uint i = 0; i < icon.data.size()/sizeof(quint32 *); ++i) {
+        for (uint i = 0; i < icon.data.size()/sizeof(quint32); ++i) {
             *uintBuf = htonl(*uintBuf);
             ++uintBuf;
         }


More information about the Plasma-devel mailing list