QString Myth::ProfileURL() { QString sProfileURL; HardwareProfile profile; profile.GenerateUUIDs(); sProfileURL = profile.GetProfileURL(); LOG(VB_GENERAL, LOG_NOTICE, QString("ProfileURL: %1").arg(sProfileURL)); return sProfileURL; }
QString Myth::ProfileURL() { QString sProfileURL; HardwareProfile *profile = new HardwareProfile(); if (profile) { profile->GenerateUUIDs(); sProfileURL = profile->GetProfileURL(); LOG(VB_GENERAL, LOG_NOTICE, QString("ProfileURL: %1").arg(sProfileURL)); } delete profile; return sProfileURL; }