mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
RigCtrl plugin: Removed QMainWindow dependency in plugin interface. Get API URI from MainWindow. Cosmetic changes
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
|
||||
#include "export.h"
|
||||
|
||||
class QMainWindow;
|
||||
|
||||
struct SDRBASE_API PluginDescriptor {
|
||||
const QString hardwareId;
|
||||
// general plugin description
|
||||
@@ -314,7 +312,7 @@ public:
|
||||
virtual void deleteSampleMIMOPluginInstanceMIMO(DeviceSampleMIMO *mimo);
|
||||
|
||||
// Callback to allow plugin to add elements to top-level GUI (such as menu items)
|
||||
virtual bool createTopLevelGUI(QMainWindow* mainWindow)
|
||||
virtual bool createTopLevelGUI()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user