1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-14 15:33:34 -04:00

Massive UI revamping (v7): Implemented channel move to another device and more

This commit is contained in:
f4exb
2022-04-16 16:45:53 +02:00
parent 4e2a4b7f6c
commit 103301f19a
161 changed files with 1312 additions and 231 deletions
@@ -84,6 +84,18 @@ LocalSource::~LocalSource()
delete m_thread;
}
void LocalSource::setDeviceAPI(DeviceAPI *deviceAPI)
{
if (deviceAPI != m_deviceAPI)
{
m_deviceAPI->removeChannelSourceAPI(this);
m_deviceAPI->removeChannelSource(this);
m_deviceAPI = deviceAPI;
m_deviceAPI->addChannelSource(this);
m_deviceAPI->addChannelSinkAPI(this);
}
}
void LocalSource::start()
{
qDebug("LocalSource::start");