Changeset 06570e9


Ignore:
Timestamp:
01/21/10 14:36:21 (12 years ago)
Author:
korrco <korrco@…>
Branches:
master, qt5
Children:
699d5b8
Parents:
7d7659d
Message:

exception handling changed

Location:
src/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/gui/alarmdialog.cpp

    r7d7659d r06570e9  
    5555        roomStr = event.room();
    5656    }
    57     catch(OrmNoObjectException*)
     57    catch(OrmNoObjectException&)
    5858    {
    5959        titleStr = QString("ERROR");
     
    9494        event.update("alarm");
    9595    }
    96     catch(OrmNoObjectException*) {} // TODO: implement
     96    catch(OrmNoObjectException) {} // TODO: implement
    9797    catch(...) {} // just close dialog
    9898    qApp->quit();
  • src/gui/mainwindow.cpp

    r7d7659d r06570e9  
    126126            dialog.exec();
    127127        }
    128         catch(OrmNoObjectException*) {} // just start application
     128        catch(OrmNoObjectException) {} // just start application
    129129        catch(...) {} // just start application
    130130    }
Note: See TracChangeset for help on using the changeset viewer.