diff options
author | Colin Fletcher <colin.m.fletcher@googlemail.com> | 2015-02-15 12:56:25 +0000 |
---|---|---|
committer | Colin Fletcher <colin.m.fletcher@googlemail.com> | 2015-03-09 19:17:52 +0000 |
commit | 760e00b028f35937abc72695a02838372eb275a7 (patch) | |
tree | 5f6d810beb405ae38643db00c52fa98ed440a093 /gtk2_ardour/main_clock.cc | |
parent | 714677f036fba26df47f2ffd2547447838b3b9b3 (diff) |
Remove useless parameters from MainClock constructor
Remove (always false) duration & is_transient and (always true) editable,
with_info & follows_playhead parameters from MainClock constructor, and just
pass the requisite true & false values along to the AudioClock constructor
instead.
Diffstat (limited to 'gtk2_ardour/main_clock.cc')
-rw-r--r-- | gtk2_ardour/main_clock.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gtk2_ardour/main_clock.cc b/gtk2_ardour/main_clock.cc index 8bb685da4b..bbb3d5af4e 100644 --- a/gtk2_ardour/main_clock.cc +++ b/gtk2_ardour/main_clock.cc @@ -29,15 +29,10 @@ using namespace Gtk; MainClock::MainClock ( const std::string& clock_name, - bool is_transient, const std::string& widget_name, - bool editable, - bool follows_playhead, - bool primary, - bool duration, - bool with_info + bool primary ) - : AudioClock (clock_name, is_transient, widget_name, editable, follows_playhead, duration, with_info) + : AudioClock (clock_name, false, widget_name, true, true, false, true) , _primary (primary) { |