diff options
author | David Robillard <d@drobilla.net> | 2019-03-08 09:06:55 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-03-08 09:06:55 +0100 |
commit | acb958e95d0e8ca1b0dd912fe8bbf2e14e5f74e9 (patch) | |
tree | a229f986933c8ef9d9c15b36ecf58b04ebeaa7c0 /src/gui/GraphPortModule.cpp | |
parent | 112eb3a668f65547b1757978b02cbafebf97b794 (diff) | |
download | ingen-acb958e95d0e8ca1b0dd912fe8bbf2e14e5f74e9.tar.gz ingen-acb958e95d0e8ca1b0dd912fe8bbf2e14e5f74e9.tar.bz2 ingen-acb958e95d0e8ca1b0dd912fe8bbf2e14e5f74e9.zip |
Pass World everywhere by reference
Diffstat (limited to 'src/gui/GraphPortModule.cpp')
-rw-r--r-- | src/gui/GraphPortModule.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/GraphPortModule.cpp b/src/gui/GraphPortModule.cpp index b5b234c4..a1ea6ce2 100644 --- a/src/gui/GraphPortModule.cpp +++ b/src/gui/GraphPortModule.cpp @@ -141,10 +141,10 @@ GraphPortModule::property_changed(const URI& key, const Atom& value) } } else if (value.type() == uris.forge.String) { if (key == uris.lv2_name && - app().world()->conf().option("human-names").get<int32_t>()) { + app().world().conf().option("human-names").get<int32_t>()) { set_name(value.ptr<char>()); } else if (key == uris.lv2_symbol && - !app().world()->conf().option("human-names").get<int32_t>()) { + !app().world().conf().option("human-names").get<int32_t>()) { set_name(value.ptr<char>()); } } else if (value.type() == uris.forge.Bool) { |