summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/frame.cc1
-rw-r--r--plugingui/frame.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/plugingui/frame.cc b/plugingui/frame.cc
index f34eecf..6458a78 100644
--- a/plugingui/frame.cc
+++ b/plugingui/frame.cc
@@ -40,7 +40,6 @@ namespace GUI
FrameWidget::FrameWidget(Widget *parent, bool has_switch)
: Widget(parent)
- , has_switch(has_switch)
, is_switched_on(!has_switch)
, bar_height(24)
{
diff --git a/plugingui/frame.h b/plugingui/frame.h
index 1e900ee..c891b59 100644
--- a/plugingui/frame.h
+++ b/plugingui/frame.h
@@ -64,7 +64,6 @@ private:
std::size_t label_width;
// switch
- bool has_switch;
bool is_switched_on;
PowerButton power_button{this};