Plugin manager: simplifies code, fixes a crash on exit

This commit is contained in:
morg 2023-08-12 08:06:09 +02:00
parent 41b7dc3102
commit f8c20128ef
4 changed files with 100 additions and 102 deletions

View file

@ -1,7 +1,6 @@
#pragma once
#include "OpenRGBPluginInterface.h"
#include "ResourceManager.h"
#include <QPluginLoader>
#include <QLabel>
@ -16,7 +15,6 @@ typedef struct
OpenRGBPluginInfo info;
OpenRGBPluginInterface* plugin;
QPluginLoader* loader;
bool loaded;
QWidget* widget;
QMenu* traymenu;
std::string path;