21 lines
310 B
C++
21 lines
310 B
C++
#include <csignal>
|
|
#include <QCoreApplication>
|
|
|
|
#include "FaultFinder.hpp"
|
|
|
|
using namespace std;
|
|
|
|
void handleClose(int signal)
|
|
{
|
|
qApp->exit(14);
|
|
}
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
QCoreApplication app(argc, argv);
|
|
FaultFinder ff(&app);
|
|
|
|
signal(SIGINT, &handleClose);
|
|
|
|
return app.exec();
|
|
} |