From e3b481875f4e1ecc67236929a75a1e4fa096cf4c Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 9 Aug 2013 20:38:20 +0300 Subject: [PATCH] Minor fixes --- source/engineer/controlpanel.cpp | 3 ++- source/engineer/controlpanel.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/engineer/controlpanel.cpp b/source/engineer/controlpanel.cpp index 07651c0..0ca2d97 100644 --- a/source/engineer/controlpanel.cpp +++ b/source/engineer/controlpanel.cpp @@ -16,7 +16,8 @@ using namespace R2C2; ControlPanel::ControlPanel(Engineer &e, Train &t): engineer(e), train(t), - updating(false) + updating(false), + placing(false) { Loader::WidgetMap widgets; DataFile::load(*this, "data/controlpanel.ui", widgets); diff --git a/source/engineer/controlpanel.h b/source/engineer/controlpanel.h index 23ca8bc..dfc6713 100644 --- a/source/engineer/controlpanel.h +++ b/source/engineer/controlpanel.h @@ -17,7 +17,6 @@ private: R2C2::Train &train; bool updating; std::map tgl_funcs; - sigc::connection pick_conn; bool placing; std::vector ghosts; -- 2.45.2