1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-29 06:55:56 -04:00

Fixed source plugins virtual methods

This commit is contained in:
f4exb
2015-09-30 08:55:58 +02:00
parent a1efdcc8dc
commit 3ced80e198
11 changed files with 23 additions and 24 deletions
+3 -3
View File
@@ -23,12 +23,12 @@ public:
{
QString filename;
QPluginLoader* loader;
PluginInterface* plugin;
PluginInterface* pluginInterface;
Plugin(const QString& _filename, QPluginLoader* pluginLoader, PluginInterface* _plugin) :
filename(_filename),
loader(pluginLoader),
plugin(_plugin)
pluginInterface(_plugin)
{ }
};
@@ -137,7 +137,7 @@ private:
static inline bool operator<(const PluginManager::Plugin& a, const PluginManager::Plugin& b)
{
return a.plugin->getPluginDescriptor().displayedName < b.plugin->getPluginDescriptor().displayedName;
return a.pluginInterface->getPluginDescriptor().displayedName < b.pluginInterface->getPluginDescriptor().displayedName;
}
#endif // INCLUDE_PLUGINMANAGER_H