summaryrefslogtreecommitdiff
path: root/audio/musicbox/files/patch-qktstreelist.cpp
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2000-12-31 15:05:54 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2000-12-31 15:05:54 +0000
commit6c3137346b5795eca3698c9b23435aa5b60ee970 (patch)
treeef6b703df299f63dc088cab88b6ff934bbe969e7 /audio/musicbox/files/patch-qktstreelist.cpp
parentAdd MASTER_SITE_NETBSD. (diff)
new port of musicbox, a Qt-based front end to mpg123
Obtained from: NetBSD
Notes
Notes: svn path=/head/; revision=36535
Diffstat (limited to 'audio/musicbox/files/patch-qktstreelist.cpp')
-rw-r--r--audio/musicbox/files/patch-qktstreelist.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/musicbox/files/patch-qktstreelist.cpp b/audio/musicbox/files/patch-qktstreelist.cpp
new file mode 100644
index 000000000000..51bd04655ad6
--- /dev/null
+++ b/audio/musicbox/files/patch-qktstreelist.cpp
@@ -0,0 +1,20 @@
+--- 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();