From 5b520324ceab2559723b4ef5127301fa61ff4846 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 9 Aug 2010 16:40:31 +0000 Subject: Allow markers to be glued to bar/beat time. Fixes #1815. git-svn-id: svn://localhost/ardour2/branches/3.0@7573 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/export_profile_manager.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/ardour/export_profile_manager.cc') diff --git a/libs/ardour/export_profile_manager.cc b/libs/ardour/export_profile_manager.cc index 53e6338a12..521f72747f 100644 --- a/libs/ardour/export_profile_manager.cc +++ b/libs/ardour/export_profile_manager.cc @@ -52,7 +52,7 @@ ExportProfileManager::ExportProfileManager (Session & s) : handler (s.get_export_handler()), session (s), - session_range (new Location ()), + session_range (new Location (s)), ranges (new LocationList ()), single_range_mode (false), @@ -286,7 +286,7 @@ ExportProfileManager::set_selection_range (nframes_t start, nframes_t end) { if (start || end) { - selection_range.reset (new Location()); + selection_range.reset (new Location (session)); selection_range->set_name (_("Selection")); selection_range->set (start, end); } else { @@ -303,7 +303,7 @@ ExportProfileManager::set_single_range (nframes_t start, nframes_t end, Glib::us { single_range_mode = true; - single_range.reset (new Location()); + single_range.reset (new Location (session)); single_range->set_name (name); single_range->set (start, end); -- cgit v1.2.3