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.
This commit is contained in:
Colin Fletcher 2015-02-15 12:56:25 +00:00
parent 714677f036
commit 760e00b028
3 changed files with 5 additions and 11 deletions

View file

@ -25,8 +25,7 @@
class MainClock : public AudioClock
{
public:
MainClock (const std::string& clock_name, bool is_transient, const std::string& widget_name,
bool editable, bool follows_playhead, bool primary, bool duration = false, bool with_info = false);
MainClock (const std::string& clock_name, const std::string& widget_name, bool primary);
private: