summaryrefslogtreecommitdiff
path: root/graphics/pixieplus/patches/patch-ak
blob: 239e7596eb7a16c51a130d919b06a4a6b70f0775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ak,v 1.1 2006/06/21 21:00:49 joerg Exp $

--- app/rightclick.cpp.orig	2006-06-21 19:41:04.000000000 +0000
+++ app/rightclick.cpp
@@ -220,9 +220,9 @@ void EditMenu::aboutToShowSlot()
             idx = -1;
     }
     if(idx != -1){
-        QStringList itemList(view->itemCatagories(&itemList[idx]));
+        QStringList itemList2(view->itemCatagories(&itemList[idx]));
         for(it=catList.begin(), i=1000; it != catList.end(); ++it, ++i){
-            if(itemList.findIndex((*it)) == -1)
+            if(itemList2.findIndex((*it)) == -1)
                 addMnu->insertItem((*it), i);
             else
                 delMnu->insertItem((*it), i+1000);