summaryrefslogtreecommitdiffstats
path: root/src/gui/GraphTreeWindow.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-07-17 11:01:54 -0400
committerDavid Robillard <d@drobilla.net>2024-07-17 11:47:19 -0400
commit973db12fe33bab8e6efca80deca358b4998d5eb2 (patch)
tree6ae279e5edccdde1ebaf6de9aa4a2706b0a8ec4f /src/gui/GraphTreeWindow.cpp
parente2bbec54b3b26173284754b786310fc7d8589ecc (diff)
downloadingen-973db12fe33bab8e6efca80deca358b4998d5eb2.tar.gz
ingen-973db12fe33bab8e6efca80deca358b4998d5eb2.tar.bz2
ingen-973db12fe33bab8e6efca80deca358b4998d5eb2.zip
Remove redundant casts
Diffstat (limited to 'src/gui/GraphTreeWindow.cpp')
-rw-r--r--src/gui/GraphTreeWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/GraphTreeWindow.cpp b/src/gui/GraphTreeWindow.cpp
index b6c55b24..fa3318bf 100644
--- a/src/gui/GraphTreeWindow.cpp
+++ b/src/gui/GraphTreeWindow.cpp
@@ -217,7 +217,7 @@ GraphTreeWindow::event_graph_enabled_toggled(const Glib::ustring& path_str)
if (_enable_signal) {
_app->set_property(pm->uri(),
_app->uris().ingen_enabled,
- _app->forge().make(static_cast<bool>(!pm->enabled())));
+ _app->forge().make(!pm->enabled()));
}
}