diff options
Diffstat (limited to 'kplato/kptresourcespanel.cc')
-rw-r--r-- | kplato/kptresourcespanel.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kplato/kptresourcespanel.cc b/kplato/kptresourcespanel.cc index cc645d42..29b1d4eb 100644 --- a/kplato/kptresourcespanel.cc +++ b/kplato/kptresourcespanel.cc @@ -152,7 +152,7 @@ public: } void deleteResource(ResourcesPanelResourceItem *item) { //kdDebug()<<k_funcinfo<<" Deleted: "<<item->m_name<<" ("<<item<<")"<<endl; - m_resourceItems.take(m_resourceItems.tqfindRef(item)); + m_resourceItems.take(m_resourceItems.findRef(item)); if (item->m_state == ResourcesPanelResourceItem::New) delete item; else @@ -302,7 +302,7 @@ void ResourcesPanel::slotDeleteGroup() { listOfResources->clear(); listOfGroups->takeItem(groupLVItem); // remove from listbox - m_groupItems.take(m_groupItems.tqfindRef(groupLVItem->m_group)); // remove GroupItem from active list + m_groupItems.take(m_groupItems.findRef(groupLVItem->m_group)); // remove GroupItem from active list m_deletedGroupItems.append(groupLVItem->takeGroup()); // remove GroupItem from GroupLVItem and add to deleted list //kdDebug()<<k_funcinfo<<" No of deleted groups="<<m_deletedGroupItems.count()<<", now "<<m_groupItems.count()<<" groups left"<<endl; |