From: Mikko Rasa Date: Fri, 9 Aug 2013 17:38:20 +0000 (+0300) Subject: Minor fixes X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=e3b481875f4e1ecc67236929a75a1e4fa096cf4c;p=r2c2.git Minor fixes --- 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;