diff --git a/sdrbase/plugin/pluginmanager.cpp b/sdrbase/plugin/pluginmanager.cpp index c1af659cc..9645ef3af 100644 --- a/sdrbase/plugin/pluginmanager.cpp +++ b/sdrbase/plugin/pluginmanager.cpp @@ -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) { } diff --git a/sdrbase/plugin/pluginmanager.h b/sdrbase/plugin/pluginmanager.h index 9d2b24b0a..9f42823ca 100644 --- a/sdrbase/plugin/pluginmanager.h +++ b/sdrbase/plugin/pluginmanager.h @@ -115,7 +115,6 @@ private: typedef QList SamplingDevices; PluginAPI m_pluginAPI; - MainWindow* m_mainWindow; Plugins m_plugins; PluginAPI::ChannelRegistrations m_rxChannelRegistrations; //!< Channel plugins register here