mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-17 13:51:47 -05:00
Multi device support: small cleanup
This commit is contained in:
parent
a4a8b47608
commit
2f9e5ac051
@ -282,16 +282,6 @@ void MainWindow::removeChannelMarker(ChannelMarker* channelMarker)
|
||||
m_deviceUIs.back()->m_spectrum->removeChannelMarker(channelMarker);
|
||||
}
|
||||
|
||||
//void MainWindow::setInputGUI(QWidget* gui)
|
||||
//{
|
||||
// // FIXME: Ceci est un tres tres gros CACA!
|
||||
// if(m_inputGUI != 0)
|
||||
// ui->inputDock->widget()->layout()->removeWidget(m_inputGUI);
|
||||
// if(gui != 0)
|
||||
// ui->inputDock->widget()->layout()->addWidget(gui);
|
||||
// m_inputGUI = gui;
|
||||
//}
|
||||
|
||||
void MainWindow::setInputGUI(int deviceTabIndex, QWidget* gui)
|
||||
{
|
||||
qDebug("MainWindow::setInputGUI: count before %d", ui->tabInputsView->count());
|
||||
|
@ -78,7 +78,6 @@ public:
|
||||
void addChannelMarker(ChannelMarker* channelMarker);
|
||||
void removeChannelMarker(ChannelMarker* channelMarker);
|
||||
|
||||
// void setInputGUI(QWidget* gui);
|
||||
void setInputGUI(int deviceTabIndex, QWidget* gui);
|
||||
const QTimer& getMasterTimer() const { return m_masterTimer; }
|
||||
|
||||
|
@ -41,8 +41,8 @@ public:
|
||||
|
||||
explicit PluginManager(MainWindow* mainWindow, uint deviceTabIndex, DSPDeviceEngine* dspDeviceEngine, GLSpectrum *spectrum, QObject* parent = NULL);
|
||||
~PluginManager();
|
||||
void loadPlugins();
|
||||
|
||||
void loadPlugins();
|
||||
const Plugins& getPlugins() const { return m_plugins; }
|
||||
|
||||
void registerChannel(const QString& channelName, PluginInterface* plugin, QAction* action);
|
||||
|
Loading…
Reference in New Issue
Block a user