]> git.tdb.fi Git - r2c2.git/commitdiff
Minor fixes
authorMikko Rasa <tdb@tdb.fi>
Fri, 9 Aug 2013 17:38:20 +0000 (20:38 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 11 Aug 2013 12:25:52 +0000 (15:25 +0300)
source/engineer/controlpanel.cpp
source/engineer/controlpanel.h

index 07651c07929fdf5f21d8d65f873f5f997c191911..0ca2d973e43c654a2b7e25726b58091ee3aa62f7 100644 (file)
@@ -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);
index 23ca8bcfc57bd67dee3803f9600dcdf5f42d845d..dfc67136e471aaabcafd3a7f4bb80f687b21eafd 100644 (file)
@@ -17,7 +17,6 @@ private:
        R2C2::Train &train;
        bool updating;
        std::map<unsigned, Msp::GLtk::Toggle *> tgl_funcs;
-       sigc::connection pick_conn;
 
        bool placing;
        std::vector<PlacementGhost *> ghosts;