X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fremote%2Fremote.cpp;h=a193b2bf599ef87507fa9aedc037c4572c7a3c10;hb=9ddcd066e37e4c72685817c042c30897786ece05;hp=c6afc6de537e0ab4fe7d3d4ffb75970fc69af24f;hpb=2fe7cbcb761487bc7409b93b372da6f8ab3c581e;p=r2c2.git diff --git a/source/remote/remote.cpp b/source/remote/remote.cpp index c6afc6d..a193b2b 100644 --- a/source/remote/remote.cpp +++ b/source/remote/remote.cpp @@ -1,7 +1,7 @@ /* $Id$ This file is part of the MSP Märklin suite -Copyright © 2009 Mikkosoft Productions, Mikko Rasa +Copyright © 2009-2010 Mikkosoft Productions, Mikko Rasa Distributed under the GPL */ @@ -52,7 +52,7 @@ void Remote::tick() void Remote::train_added(Marklin::NetTrain &t) { - TrainPanel *panel = new TrainPanel(client, t); + TrainPanel *panel = new TrainPanel(*this, client, t); if(!train_panels.empty()) { Gtk::HSeparator *sep = new Gtk::HSeparator;