summaryrefslogtreecommitdiff
path: root/audio/musicbox/patches/patch-ae
blob: d3ffcfef08727f0ac6ea67082fa3153e65f0092f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ae,v 1.1.1.1 1999/06/08 23:07:11 tron Exp $

--- qktstreelist.cpp.orig	Mon Nov 10 18:10:02 1997
+++ qktstreelist.cpp	Wed Jun  9 00:15:13 1999
@@ -834,7 +834,7 @@
   QktsItemSearchInfo searchInfo;
   searchInfo.index = index;
   searchInfo.count = -1;
-  forEveryVisibleItem(QktsTreeList::findItemAt, &searchInfo);
+  forEveryVisibleItem(&QktsTreeList::findItemAt, &searchInfo);
   return searchInfo.foundItem;
 }
 
@@ -1340,7 +1340,7 @@
   QktsTreeListItem *item = treeRoot->getChild();
   do {
     while(item) {
-      if((func)(item, user)) return;
+      if((this->*func)(item, user)) return;
       if(item->hasChild() && item->isExpanded()) {
         stack.push(item);
         item = item->getChild();