1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-29 03:09:14 -05:00

Main Window: fixed some debug messages

This commit is contained in:
f4exb 2018-08-11 17:36:02 +02:00
parent a971e6da10
commit a0a23d3d73

View File

@ -1479,7 +1479,7 @@ void MainWindow::sampleSourceChanged()
if (currentSourceTabIndex >= 0) if (currentSourceTabIndex >= 0)
{ {
qDebug("MainWindow::on_sampleSource_confirmClicked: tab at %d", currentSourceTabIndex); qDebug("MainWindow::sampleSourceChanged: tab at %d", currentSourceTabIndex);
DeviceUISet *deviceUI = m_deviceUIs[currentSourceTabIndex]; DeviceUISet *deviceUI = m_deviceUIs[currentSourceTabIndex];
deviceUI->m_deviceSourceAPI->saveSourceSettings(m_settings.getWorkingPreset()); // save old API settings deviceUI->m_deviceSourceAPI->saveSourceSettings(m_settings.getWorkingPreset()); // save old API settings
deviceUI->m_deviceSourceAPI->stopAcquisition(); deviceUI->m_deviceSourceAPI->stopAcquisition();
@ -1568,7 +1568,7 @@ void MainWindow::sampleSinkChanged()
if (currentSinkTabIndex >= 0) if (currentSinkTabIndex >= 0)
{ {
qDebug("MainWindow::on_sampleSink_confirmClicked: tab at %d", currentSinkTabIndex); qDebug("MainWindow::sampleSinkChanged: tab at %d", currentSinkTabIndex);
DeviceUISet *deviceUI = m_deviceUIs[currentSinkTabIndex]; DeviceUISet *deviceUI = m_deviceUIs[currentSinkTabIndex];
deviceUI->m_deviceSinkAPI->saveSinkSettings(m_settings.getWorkingPreset()); // save old API settings deviceUI->m_deviceSinkAPI->saveSinkSettings(m_settings.getWorkingPreset()); // save old API settings
deviceUI->m_deviceSinkAPI->stopGeneration(); deviceUI->m_deviceSinkAPI->stopGeneration();