diff --git a/src/applications/gqrx/mainwindow.cpp b/src/applications/gqrx/mainwindow.cpp index 480f98460..c642c4a23 100644 --- a/src/applications/gqrx/mainwindow.cpp +++ b/src/applications/gqrx/mainwindow.cpp @@ -586,6 +586,7 @@ bool MainWindow::loadConfig(const QString& cfgfile, bool check_crash, } QString indev = m_settings->value("input/device", "").toString(); + qDebug() << "Selected device string: "<value("input/device","").toString(); if (!indev.isEmpty()) { try @@ -2542,6 +2543,7 @@ void MainWindow::stopIqPlayback() // restore original input device auto indev = m_settings->value("input/device", "").toString(); + qDebug() << "Restored device string: "<value("input/device","").toString(); rx->set_input_device(indev.toStdString()); // restore sample rate diff --git a/src/qtgui/ioconfig.cpp b/src/qtgui/ioconfig.cpp index cfd9ab7f0..22c6edd39 100644 --- a/src/qtgui/ioconfig.cpp +++ b/src/qtgui/ioconfig.cpp @@ -195,6 +195,7 @@ void CIoConfig::saveConfig() // input settings m_settings->setValue("input/device", ui->inDevEdit->text()); // "OK" button disabled if empty + qDebug() << "[ioconfig] Selected device string: "<value("input/device","").toString(); qint64 value = (qint64)(ui->bwSpinBox->value()*1.e6); if (value) @@ -615,6 +616,7 @@ void CIoConfig::updateDecimations(void) void CIoConfig::updateInDev(const QSettings *settings, const std::map &devList) { QString indev = settings->value("input/device", "").toString(); + qDebug() << "[ioconfig] Selected device string: "<value("input/device","").toString(); bool cfgmatch = false; //flag to indicate that device from config was found // insert the device list in device combo box