mirror of
https://github.com/polybar/polybar.git
synced 2026-05-01 03:43:40 +00:00
refactor(builder): Remove unused condition parameter
Same as in #1952, the methods are never called with the optional parameter, except once where it is called with the default value. Ref: #1952
This commit is contained in:
committed by
Patrick Ziegler
parent
bc560952e0
commit
4bc7a09c7e
@ -47,9 +47,9 @@ class builder {
|
||||
void underline(const string& color = "");
|
||||
void underline_close();
|
||||
void control(controltag tag);
|
||||
void cmd(mousebtn index, string action, bool condition = true);
|
||||
void cmd(mousebtn index, string action);
|
||||
void cmd(mousebtn index, string action, const label_t& label);
|
||||
void cmd_close(bool condition = true);
|
||||
void cmd_close();
|
||||
|
||||
protected:
|
||||
string background_hex();
|
||||
|
||||
Reference in New Issue
Block a user