From 608aeac60ef43243b85c0dcc5894ccc79f35fba5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 21 Oct 2007 19:02:02 +0000 Subject: Fix crash on OSC connection. Fix patch filename persistance. git-svn-id: http://svn.drobilla.net/lad/ingen@894 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/client/PatchModel.hpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/libs/client/PatchModel.hpp') diff --git a/src/libs/client/PatchModel.hpp b/src/libs/client/PatchModel.hpp index 5d375faf..909b9e9e 100644 --- a/src/libs/client/PatchModel.hpp +++ b/src/libs/client/PatchModel.hpp @@ -48,10 +48,7 @@ public: SharedPtr get_connection(const string& src_port_path, const string& dst_port_path) const; - void set_filename(const string& filename) { _filename = filename; } - size_t poly() const { return _poly; } - const string& filename() const { return _filename; } bool enabled() const { return _enabled; } uint32_t internal_polyphony() const { return _poly; } bool polyphonic() const; @@ -86,7 +83,6 @@ private: { } - void filename(const string& f) { _filename = f; } void poly(size_t p) { _poly = p; signal_polyphony.emit(p); } void enable(); void disable(); @@ -98,7 +94,6 @@ private: void remove_connection(const string& src_port_path, const string& dst_port_path); Connections _connections; - string _filename; bool _enabled; uint32_t _poly; bool _editable; -- cgit v1.2.1