mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 19:38:09 +00:00
Instantiate SDK thread. Add logger. Format logs to match SDK syntax. Change log domain to 'app'.
12 lines
No EOL
199 B
C++
12 lines
No EOL
199 B
C++
#include "Thread.hpp"
|
|
|
|
Thread::Thread(QObject *parent) : QThread(parent) {
|
|
}
|
|
|
|
void Thread::run() {
|
|
int toExit = false;
|
|
while (!toExit) {
|
|
int result = exec();
|
|
if (result < 0) toExit = true;
|
|
}
|
|
} |