summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-18 01:41:57 -0400
committerDavid Robillard <d@drobilla.net>2022-08-18 01:41:57 -0400
commitf8eee81f6f94d018ab7c1133bf2b78926316edf8 (patch)
tree6b07e0da7df5e6df1bc87bff7b5e96d3a067452d /src/gui
parent4564d719745848386a0662a44a47a8400c799560 (diff)
downloadingen-f8eee81f6f94d018ab7c1133bf2b78926316edf8.tar.gz
ingen-f8eee81f6f94d018ab7c1133bf2b78926316edf8.tar.bz2
ingen-f8eee81f6f94d018ab7c1133bf2b78926316edf8.zip
Fix overly long line comments
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/BreadCrumbs.cpp8
-rw-r--r--src/gui/RDFS.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/BreadCrumbs.cpp b/src/gui/BreadCrumbs.cpp
index 041c3f51..46a0757a 100644
--- a/src/gui/BreadCrumbs.cpp
+++ b/src/gui/BreadCrumbs.cpp
@@ -77,7 +77,7 @@ BreadCrumbs::build(const raul::Path& path,
b->set_view(view);
}
- // views are expensive, having two around for the same graph is a bug
+ // Views are expensive, having two around is a bug
assert(b->view() == view);
} else {
@@ -89,7 +89,7 @@ BreadCrumbs::build(const raul::Path& path,
_enable_signal = old_enable_signal;
} else if (!_breadcrumbs.empty() && path.is_child_of(_full_path)) {
- // Moving to a child of the full path, just append crumbs (preserve view cache)
+ // Moving to a child of the full path, append crumbs (preserve cache)
string suffix = path.substr(_full_path.length());
while (suffix.length() > 0) {
@@ -115,8 +115,8 @@ BreadCrumbs::build(const raul::Path& path,
_breadcrumbs.back()->set_active(true);
} else {
- // Rebuild from scratch
- // Getting here is bad unless absolutely necessary, since the GraphView cache is lost
+ /* Rebuild from scratch. Getting here is bad unless absolutely
+ necessary, since the GraphView cache is lost. */
_full_path = path;
_active_path = path;
diff --git a/src/gui/RDFS.cpp b/src/gui/RDFS.cpp
index 23a9e768..3a277950 100644
--- a/src/gui/RDFS.cpp
+++ b/src/gui/RDFS.cpp
@@ -128,7 +128,7 @@ types(World& world, const std::shared_ptr<const client::ObjectModel>& model)
const URI type(world.forge().str(t->second, false));
types.insert(type);
if (world.uris().ingen_Graph == type) {
- // Add lv2:Plugin as a type for graphs so plugin properties show up
+ // Add lv2:Plugin as a type so plugin properties show up
types.insert(world.uris().lv2_Plugin);
}
} else {