radio/corax/main.cpp
2018-08-05 00:48:17 +03:00

18 lines
410 B
C++

#include <QtCore/QCoreApplication>
#include <QtCore/QTimer>
#include <utils/signalcatcher.h>
#include "corax.h"
int main(int argc, char **argv) {
QCoreApplication app(argc, argv);
W::SignalCatcher sc(&app);
Corax* corax = new Corax(&app);
QTimer::singleShot(0, corax, SLOT(start()));
QObject::connect(&app, SIGNAL(aboutToQuit()), corax, SLOT(stop()));
return app.exec();
}