|
@@ -176,6 +176,7 @@ MainForm::MainForm(QWidget *parent) :
|
|
|
{
|
|
|
Pa_Initialize();
|
|
|
ui->setupUi(this);
|
|
|
+ ui->tabWidget->setVisible(false);
|
|
|
connect(ui->modeBox, QOverload<int>::of(&QComboBox::activated), this, &MainForm::modeChanged);
|
|
|
connect(ui->deviceBox, QOverload<int>::of(&QComboBox::activated), this, &MainForm::deviceChanged);
|
|
|
ui->modeBox->setCurrentIndex(0);
|
|
@@ -312,8 +313,9 @@ void MainForm::deviceChanged(int idx)
|
|
|
m_deviceInfo = ui->deviceBox->itemData(idx).value<AudioDeviceInfo>();
|
|
|
}
|
|
|
|
|
|
-void MainForm::on_pushButton_clicked()
|
|
|
+void MainForm::on_loadBtn_clicked()
|
|
|
{
|
|
|
+ qDebug() << "Enter push button";
|
|
|
const int selectIdx = ui->modeBox->currentIndex();
|
|
|
modeChanged(selectIdx);
|
|
|
}
|