Ignore:
Timestamp:
01/20/10 17:02:09 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
53fa43c
Parents:
a5c1179
Message:

implemented some error handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mainwindow.cpp

    ra5c1179 r95596f6  
    120120    if(aEventId)
    121121    {
    122         EventDialog dialog(aEventId,this);
    123         dialog.exec();
     122        try
     123        {
     124            EventDialog dialog(aEventId,this);
     125            dialog.exec();
     126        }
     127        catch(OrmNoObjectException*) {} // just start application
     128        catch(...) {} // just start application
    124129    }
    125130}
Note: See TracChangeset for help on using the changeset viewer.