mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-15 09:04:36 +00:00
26 lines
477 B
C++
26 lines
477 B
C++
#include "mlapplication.h"
|
|
#include "mlexception.h"
|
|
#include <vcg/complex/complex.h>
|
|
bool MeshLabApplication::notify( QObject * rec, QEvent * ev )
|
|
{
|
|
try
|
|
{
|
|
return QApplication::notify(rec,ev);
|
|
}
|
|
catch (MLException& e)
|
|
{
|
|
qCritical("%s",e.what());
|
|
}
|
|
catch (vcg::MissingComponentException &e )
|
|
{
|
|
qCritical("%s",e.what());
|
|
abort();
|
|
}
|
|
catch (...)
|
|
{
|
|
qCritical("Something really bad happened!!!!!!!!!!!!!");
|
|
abort();
|
|
}
|
|
return false;
|
|
}
|