From afe08a35473a72956d1dd8375647709d8b248f93 Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 1 Sep 2017 00:19:47 +0200 Subject: [PATCH] PluginManager: removed useless dependency on main window --- sdrbase/plugin/pluginmanager.cpp | 3 +-- sdrbase/plugin/pluginmanager.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) 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