Mercurial > hg > svgui
comparison widgets/PluginReviewDialog.cpp @ 1293:6dd15b5c14f9 plugin-path-config
Various logic fixes, and use new setter-class structures
author | Chris Cannam |
---|---|
date | Fri, 25 May 2018 16:05:51 +0100 |
parents | 41824255ddf2 |
children | 9f9a7edd7d89 |
comparison
equal
deleted
inserted
replaced
1292:41824255ddf2 | 1293:6dd15b5c14f9 |
---|---|
63 | 63 |
64 m_table->setRowCount(int(feIds.size() + dssiIds.size() + ladspaIds.size())); | 64 m_table->setRowCount(int(feIds.size() + dssiIds.size() + ladspaIds.size())); |
65 m_table->setColumnCount(5); | 65 m_table->setColumnCount(5); |
66 | 66 |
67 QStringList headers; | 67 QStringList headers; |
68 int typeCol = 0, libCol = 1, nameCol = 2, idCol = 3, dirCol = 4; | 68 int typeCol = 0, libCol = 1, idCol = 2, dirCol = 3, nameCol = 4; |
69 headers << tr("Type") << tr("Library") << tr("Name") | 69 headers << tr("Type") << tr("Library") |
70 << tr("Identifier") << tr("Location"); | 70 << tr("Identifier") << tr("Found in") << tr("Name"); |
71 m_table->setHorizontalHeaderLabels(headers); | 71 m_table->setHorizontalHeaderLabels(headers); |
72 | 72 |
73 int row = 0; | 73 int row = 0; |
74 | 74 |
75 for (QString id: feIds) { | 75 for (QString id: feIds) { |