Ignore:
Timestamp:
04/16/10 14:14:19 (12 years ago)
Author:
kirilma <kirilma@…>
Branches:
master, qt5
Children:
a61c5f5
Parents:
2eda137
Message:

use visible notifications of errors

also early detect parsing errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/app/application.cpp

    r2eda137 r3329d39  
    1818 */
    1919#include "application.h"
     20#include "errormessage.h"
    2021
    2122#include <ormrecord.h>
     
    2930        return QApplication::notify(receiver, event);
    3031    } catch (OrmException& e) {
    31         qWarning() << "UNCAUGHT EXCEPTION: OrmException, text= " << e.text();
     32        error_message("UNCAUGHT OrmException: " + e.text());
    3233        return false;
    3334    } catch (...) {
    34         qWarning() << "UNCAUGHT EXCEPTION: unknown";
     35        error_message("UNCAUGHT EXCEPTION: unknown");
    3536        return false;
    3637    }
Note: See TracChangeset for help on using the changeset viewer.