Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantMoyer committed Jul 21, 2021
1 parent 0ac3f9a commit 1f0a859
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion include/modules/keyboard_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class KeyboardState : public AModule {
private:
static auto openDevice(const std::string&) -> std::pair<int, libevdev*>;

const Bar& bar_;
Gtk::Box box_;
Gtk::Label numlock_label_;
Gtk::Label capslock_label_;
Expand Down
1 change: 0 additions & 1 deletion src/modules/keyboard_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ extern "C" {

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()),
bar_(bar),
box_(bar.vertical ? Gtk::ORIENTATION_VERTICAL : Gtk::ORIENTATION_HORIZONTAL, 0),
numlock_label_(""),
capslock_label_(""),
Expand Down

0 comments on commit 1f0a859

Please sign in to comment.