summaryrefslogtreecommitdiff
path: root/graphics/pixieplus/files/patch-app_rightclick.cpp
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-09-20 00:08:56 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-09-20 00:08:56 +0000
commitb4db9b9ff19f759aac53acb2c493c07904f6d8e7 (patch)
tree5eaeacef87beedd002947386e9b4eaf7243b5ba6 /graphics/pixieplus/files/patch-app_rightclick.cpp
parentIn latest CVS entry, remove the reference to the exploit. It does (diff)
- Fix build on 5.x
PR: ports/71913 Submitted by: Arjan van Leeuwen <avleeuwen@piwebs.com> (maintainer) Approved by: portmgr (marcus, wca)
Diffstat (limited to 'graphics/pixieplus/files/patch-app_rightclick.cpp')
-rw-r--r--graphics/pixieplus/files/patch-app_rightclick.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/pixieplus/files/patch-app_rightclick.cpp b/graphics/pixieplus/files/patch-app_rightclick.cpp
new file mode 100644
index 000000000000..637940569485
--- /dev/null
+++ b/graphics/pixieplus/files/patch-app_rightclick.cpp
@@ -0,0 +1,11 @@
+--- 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);