mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 22:14:45 -04:00
Massive UI revamping (v7): Implemented channel move to another device and more
This commit is contained in:
@@ -88,6 +88,18 @@ RemoteSource::~RemoteSource()
|
||||
delete m_thread;
|
||||
}
|
||||
|
||||
void RemoteSource::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 RemoteSource::start()
|
||||
{
|
||||
qDebug("RemoteSource::start");
|
||||
|
||||
Reference in New Issue
Block a user