Mercurial > hg > svgui
diff widgets/PluginReviewDialog.cpp @ 1592:1da52d5e6700
Merge from branch audio-source-refactor. Mostly handling changes to plugin ownership
author | Chris Cannam |
---|---|
date | Fri, 03 Apr 2020 12:12:47 +0100 |
parents | 11660e0c896f |
children |
line wrap: on
line diff
--- a/widgets/PluginReviewDialog.cpp Fri Apr 03 11:35:40 2020 +0100 +++ b/widgets/PluginReviewDialog.cpp Fri Apr 03 12:12:47 2020 +0100 @@ -90,13 +90,13 @@ for (QString id: dssiIds) { auto descriptor = dssiFactory->getPluginDescriptor(id); - if (!descriptor) continue; + if (descriptor.name == "") continue; m_table->setItem(row, typeCol, new QTableWidgetItem (tr("DSSI"))); m_table->setItem(row, idCol, new QTableWidgetItem - (QString::fromStdString(descriptor->label))); + (QString::fromStdString(descriptor.label))); m_table->setItem(row, nameCol, new QTableWidgetItem - (QString::fromStdString(descriptor->name))); + (QString::fromStdString(descriptor.name))); QString path = dssiFactory->getPluginLibraryPath(id); m_table->setItem(row, libCol, new QTableWidgetItem (QFileInfo(path).fileName())); @@ -107,13 +107,13 @@ for (QString id: ladspaIds) { auto descriptor = ladspaFactory->getPluginDescriptor(id); - if (!descriptor) continue; + if (descriptor.name == "") continue; m_table->setItem(row, typeCol, new QTableWidgetItem (tr("LADSPA"))); m_table->setItem(row, idCol, new QTableWidgetItem - (QString::fromStdString(descriptor->label))); + (QString::fromStdString(descriptor.label))); m_table->setItem(row, nameCol, new QTableWidgetItem - (QString::fromStdString(descriptor->name))); + (QString::fromStdString(descriptor.name))); QString path = ladspaFactory->getPluginLibraryPath(id); m_table->setItem(row, libCol, new QTableWidgetItem (QFileInfo(path).fileName()));