From: korrco Date: Fri, 22 Jan 2010 10:46:26 +0000 (+0000) Subject: room.h and .cpp removed X-Git-Tag: 0.5.0~212 X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/commitdiff_plain/806b99241d1b1b61fdf2935ebdfe4c565732fa60 room.h and .cpp removed --- diff --git a/src/gui/alarmdialog.cpp b/src/gui/alarmdialog.cpp index a834225..3caeb3b 100644 --- a/src/gui/alarmdialog.cpp +++ b/src/gui/alarmdialog.cpp @@ -92,7 +92,7 @@ void AlarmDialog::closeDialog() event.setHasAlarm(false); event.update("alarm"); } - catch(OrmNoObjectException) {} // TODO: implement + catch(OrmNoObjectException &) {} // TODO: implement catch(...) {} // just close dialog qApp->quit(); } diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 67440e2..a1dfe56 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -159,7 +159,7 @@ MainWindow::MainWindow(int aEventId, QWidget *aParent) EventDialog dialog(aEventId,this); dialog.exec(); } - catch(OrmNoObjectException) {} // just start application + catch(OrmNoObjectException&) {} // just start application catch(...) {} // just start application } } @@ -309,6 +309,6 @@ void MainWindow::tabHasChanged(int aIndex) // TODO: only if it changed to favourities tab updateFavouritesView(favouriteDayNavigator->getCurrentDate()); // TODO: only if it changed to now tab - updateNowView(); + //updateNowView(); }