Remove unused variable
This commit is contained in:
parent
9880c6929f
commit
311c5779ea
|
@ -26,7 +26,6 @@ class KeyboardState : public AModule {
|
||||||
private:
|
private:
|
||||||
static auto openDevice(const std::string&) -> std::pair<int, libevdev*>;
|
static auto openDevice(const std::string&) -> std::pair<int, libevdev*>;
|
||||||
|
|
||||||
const Bar& bar_;
|
|
||||||
Gtk::Box box_;
|
Gtk::Box box_;
|
||||||
Gtk::Label numlock_label_;
|
Gtk::Label numlock_label_;
|
||||||
Gtk::Label capslock_label_;
|
Gtk::Label capslock_label_;
|
||||||
|
|
|
@ -10,7 +10,6 @@ extern "C" {
|
||||||
|
|
||||||
waybar::modules::KeyboardState::KeyboardState(const std::string& id, const Bar& bar, const Json::Value& config)
|
waybar::modules::KeyboardState::KeyboardState(const std::string& id, const Bar& bar, const Json::Value& config)
|
||||||
: AModule(config, "keyboard_state", id, false, !config["disable-scroll"].asBool()),
|
: AModule(config, "keyboard_state", id, false, !config["disable-scroll"].asBool()),
|
||||||
bar_(bar),
|
|
||||||
box_(bar.vertical ? Gtk::ORIENTATION_VERTICAL : Gtk::ORIENTATION_HORIZONTAL, 0),
|
box_(bar.vertical ? Gtk::ORIENTATION_VERTICAL : Gtk::ORIENTATION_HORIZONTAL, 0),
|
||||||
numlock_label_(""),
|
numlock_label_(""),
|
||||||
capslock_label_(""),
|
capslock_label_(""),
|
||||||
|
|
Loading…
Reference in New Issue