diff --git a/sdrbase/mainwindow.cpp b/sdrbase/mainwindow.cpp index ab352ca56..84052d65f 100644 --- a/sdrbase/mainwindow.cpp +++ b/sdrbase/mainwindow.cpp @@ -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()); diff --git a/sdrbase/mainwindow.h b/sdrbase/mainwindow.h index 083e62be8..ef314a914 100644 --- a/sdrbase/mainwindow.h +++ b/sdrbase/mainwindow.h @@ -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; } diff --git a/sdrbase/plugin/pluginmanager.h b/sdrbase/plugin/pluginmanager.h index 25cb6659a..cd3f8c5fc 100644 --- a/sdrbase/plugin/pluginmanager.h +++ b/sdrbase/plugin/pluginmanager.h @@ -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);