X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fengineer%2Ftimetabledialog.cpp;h=8a185cd156f85b7e072deda6b202280c88630f1d;hb=ca9d278f9472206ad9a01190dcef9f0eb1bcc274;hp=52f391ce0a85f635d6854fdab66b806ad49f458a;hpb=62ce775d9af8f3321dbdebd6243b551fbbb0b976;p=r2c2.git diff --git a/source/engineer/timetabledialog.cpp b/source/engineer/timetabledialog.cpp index 52f391c..8a185cd 100644 --- a/source/engineer/timetabledialog.cpp +++ b/source/engineer/timetabledialog.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of the MSP Märklin suite -Copyright © 2010 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #include #include #include @@ -12,7 +5,7 @@ Distributed under the GPL using namespace std; using namespace Msp; -using namespace Marklin; +using namespace R2C2; TimetableDialog::TimetableDialog(Timetable &tt): timetable(tt) @@ -70,7 +63,7 @@ void TimetableDialog::on_response(int code) for(vector::const_iterator i=rows.begin(); i!=rows.end(); ++i) timetable.append(*i); } - catch(const Exception &e) + catch(const exception &e) { // XXX Need a better way to report errors. Also, should not let the dialog close. IO::print("%s\n", e.what());