diff --git a/gtk2_ardour/open_file_dialog.mm b/gtk2_ardour/open_file_dialog.mm index 8ace8d8d17..da13d59e09 100644 --- a/gtk2_ardour/open_file_dialog.mm +++ b/gtk2_ardour/open_file_dialog.mm @@ -42,8 +42,9 @@ ARDOUR::open_file_dialog (std::string initial_path, std::string title) return stdPath; } +/* std::vector -ARDOUR::open_file_dialog (std::vector extantions, std::string initial_path, std::string title) +ARDOUR::open_file_dialog (std::vector extentions, std::string initial_path, std::string title) { NSString *nsTitle = [NSString stringWithUTF8String:title.c_str()]; //NP: we should find some gentle way to do this @@ -51,7 +52,7 @@ ARDOUR::open_file_dialog (std::vector extantions, std::string initi id fileTypesArray = [NSMutableArray new]; - for (auto str : extantions) { + for (auto str:extentions) { id nsstr = [NSString stringWithUTF8String:str.c_str()]; [fileTypesArray addObject:nsstr]; } @@ -71,6 +72,7 @@ ARDOUR::open_file_dialog (std::vector extantions, std::string initi // Returns pathes to selected files return stdPathes; } +*/ std::string ARDOUR::save_file_dialog (std::string initial_path, std::string title)