void ViewManager::SecondInit () { for (const auto& component : FindAllQuarks ()) AddComponent (component, false); auto watcher = new DirWatcher (Util::CreateIfNotExists ("data/quarks"), this); connect (watcher, SIGNAL (quarksAdded (QList<QUrl>)), this, SLOT (handleQuarksAdded (QList<QUrl>))); connect (watcher, SIGNAL (quarksRemoved (QList<QUrl>)), this, SLOT (handleQuarksRemoved (QList<QUrl>))); SaveQuarkOrder (); }
void ViewManager::SecondInit () { for (const auto& component : FindAllQuarks ()) AddComponent (component); }