From 5efef2d31df144bc4300d24221764c73304c67a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Sat, 1 Apr 2017 17:31:17 +0200 Subject: Fix FreeBSD compile error. --- plugingui/frame.cc | 1 - plugingui/frame.h | 1 - 2 files changed, 2 deletions(-) (limited to 'plugingui') 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}; -- cgit v1.2.3