diff options
author | David Robillard <d@drobilla.net> | 2017-02-26 12:56:45 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-02-26 12:56:45 +0100 |
commit | 72e1a2119baea9690bdea0b729ecbafade2c87ba (patch) | |
tree | c465325eaf9d9a0f800a7e2dbfb5a58692053ed2 /ingen | |
parent | 1c9ac012b8a8db6e2221f2fa64afb3fc0dbf90d9 (diff) | |
download | ingen-72e1a2119baea9690bdea0b729ecbafade2c87ba.tar.gz ingen-72e1a2119baea9690bdea0b729ecbafade2c87ba.tar.bz2 ingen-72e1a2119baea9690bdea0b729ecbafade2c87ba.zip |
Fix filtering by type in plugin selector
Diffstat (limited to 'ingen')
-rw-r--r-- | ingen/Forge.hpp | 4 | ||||
-rw-r--r-- | ingen/client/PluginModel.hpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ingen/Forge.hpp b/ingen/Forge.hpp index b9d98a1d..9b45bde1 100644 --- a/ingen/Forge.hpp +++ b/ingen/Forge.hpp @@ -1,6 +1,6 @@ /* This file is part of Ingen. - Copyright 2007-2015 David Robillard <http://drobilla.net/> + Copyright 2007-2017 David Robillard <http://drobilla.net/> Ingen is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free @@ -35,7 +35,7 @@ class INGEN_API Forge : public LV2_Atom_Forge { public: explicit Forge(URIMap& map); - std::string str(const Atom& atom, bool quoted=true); + std::string str(const Atom& atom, bool quoted); bool is_uri(const Atom& atom) const { return atom.type() == URI || atom.type() == URID; diff --git a/ingen/client/PluginModel.hpp b/ingen/client/PluginModel.hpp index ad425904..6883596a 100644 --- a/ingen/client/PluginModel.hpp +++ b/ingen/client/PluginModel.hpp @@ -1,6 +1,6 @@ /* This file is part of Ingen. - Copyright 2007-2015 David Robillard <http://drobilla.net/> + Copyright 2007-2017 David Robillard <http://drobilla.net/> Ingen is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free @@ -56,7 +56,7 @@ public: const Atom& type() const { return _type; } const Raul::URI type_uri() const { return Raul::URI(_type.is_valid() - ? _uris.forge.str(_type) + ? _uris.forge.str(_type, false) : "http://www.w3.org/2002/07/owl#Nothing"); } |