mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
there is no "default" mackie device profile
This commit is contained in:
parent
014f010489
commit
2d03db51cd
2 changed files with 0 additions and 8 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue