1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 01:39:05 -05:00

MIMO: removed enable flag in main window and rely on the DSP engine as a unique information source instead

This commit is contained in:
f4exb 2019-05-20 01:25:35 +02:00
parent ad4827f36c
commit 8fd864aadf
2 changed files with 1 additions and 4 deletions

View File

@ -221,8 +221,6 @@ MainWindow::MainWindow(qtwebapp::LoggerWithFile *logger, const MainParser& parse
qWarning("MainWindow::MainWindow: could not register resource file %s/%s", qPrintable(applicationDirPath), "sdrbase.rcc");
}
m_mimoEnabled = parser.getMIMOSupport();
m_apiAdapter = new WebAPIAdapterGUI(*this);
m_requestMapper = new WebAPIRequestMapper(this);
m_requestMapper->setAdapter(m_apiAdapter);
@ -1914,7 +1912,7 @@ void MainWindow::on_action_addSinkDevice_triggered()
void MainWindow::on_action_addMIMODevice_triggered()
{
if (m_mimoEnabled) {
if (m_dspEngine->getMIMOSupport()) {
addMIMODevice();
} else {
QMessageBox::information(this, tr("Message"), tr("MIMO operation not supported yet"));

View File

@ -330,7 +330,6 @@ private:
WebAPIAdapterGUI *m_apiAdapter;
QString m_apiHost;
int m_apiPort;
bool m_mimoEnabled;
CommandKeyReceiver *m_commandKeyReceiver;