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:
parent
ad4827f36c
commit
8fd864aadf
@ -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"));
|
||||
|
@ -330,7 +330,6 @@ private:
|
||||
WebAPIAdapterGUI *m_apiAdapter;
|
||||
QString m_apiHost;
|
||||
int m_apiPort;
|
||||
bool m_mimoEnabled;
|
||||
|
||||
CommandKeyReceiver *m_commandKeyReceiver;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user