PluginManager: removed useless dependency on main window

This commit is contained in:
f4exb 2017-09-01 00:19:47 +02:00
parent 20a01d492b
commit afe08a3547
2 changed files with 1 additions and 3 deletions

View File

@ -42,8 +42,7 @@ const QString PluginManager::m_fileSinkDeviceTypeID = "sdrangel.samplesink.files
PluginManager::PluginManager(MainWindow* mainWindow, QObject* parent) :
QObject(parent),
m_pluginAPI(this, mainWindow),
m_mainWindow(mainWindow)
m_pluginAPI(this, mainWindow)
{
}

View File

@ -115,7 +115,6 @@ private:
typedef QList<SamplingDevice> SamplingDevices;
PluginAPI m_pluginAPI;
MainWindow* m_mainWindow;
Plugins m_plugins;
PluginAPI::ChannelRegistrations m_rxChannelRegistrations; //!< Channel plugins register here