1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-20 06:38:36 -04:00

SDRdaemon: added channel source

This commit is contained in:
f4exb
2018-08-20 00:38:33 +02:00
parent dfb619cd98
commit 39212e6317
8 changed files with 227 additions and 36 deletions
+10 -3
View File
@@ -94,10 +94,17 @@ static int runQtApplication(int argc, char* argv[], qtwebapp::LoggerWithFile *lo
SDRDaemonMain m(logger, parser, &a);
// This will cause the application to exit when SDRdaemon is finished
QObject::connect(&m, SIGNAL(finished()), &a, SLOT(quit()));
if (m.doAbort())
{
return -1;
}
else
{
// This will cause the application to exit when SDRdaemon is finished
QObject::connect(&m, SIGNAL(finished()), &a, SLOT(quit()));
return a.exec();
return a.exec();
}
}
int main(int argc, char* argv[])