1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/graphics/pixieplus/files/patch-app_rightclick.cpp
Pav Lucistnik b4db9b9ff1 - Fix build on 5.x
PR:		ports/71913
Submitted by:	Arjan van Leeuwen <avleeuwen@piwebs.com> (maintainer)
Approved by:	portmgr (marcus, wca)
2004-09-20 00:08:56 +00:00

12 lines
491 B
C++

--- app/rightclick.cpp.orig Sat Sep 18 22:05:03 2004
+++ app/rightclick.cpp Sat Sep 18 22:05:36 2004
@@ -220,7 +220,7 @@
idx = -1;
}
if(idx != -1){
- QStringList itemList(view->itemCatagories(&itemList[idx]));
+ QStringList itemList(view->itemCatagories((Thumbnail*)&itemList[idx]));
for(it=catList.begin(), i=1000; it != catList.end(); ++it, ++i){
if(itemList.findIndex((*it)) == -1)
addMnu->insertItem((*it), i);