void WatchVector::detachData() { PixelBox *f = static_cast<PixelBox*>(sender()); int idx = getIndexFromPixelBox(f); if (idx != -1) { m_nActiveMappings--; m_pData[idx] = NULL; m_qName[idx] = QString("NULL"); m_bNeedsUpdate = true; delMappingOptions(idx); } if (m_nActiveMappings == 0) { closeView(); } }
void WatchGeoDataTree::detachData(int idx) { dbgPrint(DBGLVL_DEBUG, "WatchGeoDataTree::detachData: idx=%i\n", idx); delMappingOptions(idx); }