From 2ad0daa288aca040153b7a4dd974109b9a4fc2fc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 16 Feb 2011 21:43:16 +0000 Subject: Tidy up serialiser interface. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2965 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/ThreadedLoader.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/gui') diff --git a/src/gui/ThreadedLoader.cpp b/src/gui/ThreadedLoader.cpp index cd5e5ce6..10f1f8d6 100644 --- a/src/gui/ThreadedLoader.cpp +++ b/src/gui/ThreadedLoader.cpp @@ -137,11 +137,10 @@ void ThreadedLoader::save_patch_event(SharedPtr model, const string& filename) { if (App::instance().serialiser()) { - Serialiser::Record r(model, filename); if (filename.find(INGEN_BUNDLE_EXT) != string::npos) - App::instance().serialiser()->write_bundle(r); + App::instance().serialiser()->write_bundle(model, filename); else - App::instance().serialiser()->to_file(r); + App::instance().serialiser()->to_file(model, filename); } } -- cgit v1.2.1