there is no "default" mackie device profile
This commit is contained in:
parent
014f010489
commit
2d03db51cd
@ -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);
|
||||
}
|
||||
|
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user