void ViewManager::UnhideQuark (QuarkComponent_ptr component, QuarkManager_ptr manager) { if (!manager) return; RemoveFromRemoved (manager->GetID ()); AddComponent (component, manager); }
void ViewManager::handleQuarksRemoved (const QList<QUrl>& urls) { qDebug () << Q_FUNC_INFO << urls; for (const auto& url : urls) { const auto& id = Quark2Manager_ [url]->GetManifest ().GetID (); RemoveQuark (url); RemoveFromRemoved (id); } }
void ViewManager::UnhideQuark (QuarkComponent_ptr component, QuarkManager_ptr manager) { if (!manager) return; RemoveFromRemoved (manager->GetManifest ().GetID ()); AddComponent (component, manager, true); SaveQuarkOrder (); }