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

Base MIMO support on major version. Remove MIMO item from GUI based on version. Remove AMBE preferences item for Apple

This commit is contained in:
f4exb
2019-12-21 23:19:17 +01:00
parent a7d4a3b25e
commit 2d1e4c5493
3 changed files with 24 additions and 9 deletions
+9 -1
View File
@@ -239,6 +239,14 @@ MainWindow::MainWindow(qtwebapp::LoggerWithFile *logger, const MainParser& parse
m_dspEngine->setMIMOSupport(parser.getMIMOSupport());
if (!parser.getMIMOSupport()) {
ui->menu_Devices->removeAction(ui->action_addMIMODevice);
}
#ifdef __APPLE__
ui->menuPreferences->removeAction(ui->action_AMBE);
#endif
delete splash;
qDebug() << "MainWindow::MainWindow: end";
@@ -1982,7 +1990,7 @@ void MainWindow::on_action_addMIMODevice_triggered()
if (m_dspEngine->getMIMOSupport()) {
addMIMODevice();
} else {
QMessageBox::information(this, tr("Message"), tr("MIMO operation not supported yet"));
QMessageBox::information(this, tr("Message"), tr("MIMO not supported in this version"));
}
}