KDE/kdelibs/knotify/daemon

Peter Kümmel syntheticpp at yahoo.com
Thu Jul 13 18:13:47 CEST 2006


SVN commit 561920 by kuemmel:

under Windows WId is void* (32bit) and qlonglong is 64bit, so we have to cast manually.

Isn't it better to use WId instead of qlonglong as parameter type?

CCMAIL:kde-buildsystem at kde.org



 M  +1 -1      knotify.cpp  


--- trunk/KDE/kdelibs/knotify/daemon/knotify.cpp #561919:561920
@@ -180,7 +180,7 @@
 	
 	QPixmap pixmap;
 	pixmap.loadFromData(image);
-	return static_cast<KNotify *>(parent())->event(event, fromApp, contextlist, text, pixmap, actions, winId);
+	return static_cast<KNotify *>(parent())->event(event, fromApp, contextlist, text, pixmap, actions, WId(winId));
 }
 
 #include "knotify.moc"


More information about the Kde-buildsystem mailing list