summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-16 21:43:16 +0000
committerDavid Robillard <d@drobilla.net>2011-02-16 21:43:16 +0000
commit2ad0daa288aca040153b7a4dd974109b9a4fc2fc (patch)
tree2fb28b2c63f8e1a8ab36f5043b91f272b1b6cf2f /src/gui
parent9879baf23904b137d38311588a3692d7456870e2 (diff)
downloadingen-2ad0daa288aca040153b7a4dd974109b9a4fc2fc.tar.gz
ingen-2ad0daa288aca040153b7a4dd974109b9a4fc2fc.tar.bz2
ingen-2ad0daa288aca040153b7a4dd974109b9a4fc2fc.zip
Tidy up serialiser interface.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2965 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/ThreadedLoader.cpp5
1 files changed, 2 insertions, 3 deletions
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<PatchModel> 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);
}
}