13
0

there is no "default" mackie device profile

This commit is contained in:
Paul Davis 2015-12-09 00:19:15 -05:00
parent 014f010489
commit 2d03db51cd
2 changed files with 0 additions and 8 deletions

View File

@ -202,8 +202,6 @@ MackieControlProtocolGUI::MackieControlProtocolGUI (MackieControlProtocol& p)
vector<string> profiles;
profiles.push_back ("default");
for (std::map<std::string,DeviceProfile>::iterator i = DeviceProfile::device_profiles.begin(); i != DeviceProfile::device_profiles.end(); ++i) {
profiles.push_back (i->first);
}

View File

@ -718,12 +718,6 @@ MackieControlProtocol::connect_session_signals()
void
MackieControlProtocol::set_profile (const string& profile_name)
{
if (profile_name == "default") {
/* reset to default */
_device_profile = DeviceProfile (profile_name);
return;
}
map<string,DeviceProfile>::iterator d = DeviceProfile::device_profiles.find (profile_name);
if (d == DeviceProfile::device_profiles.end()) {