mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-18 18:38:51 +00:00
Hide debug plugins IO (#767)
This commit is contained in:
parent
005fd53193
commit
a98354f402
@ -329,6 +329,10 @@ void NewFileDialog::fillIOPluginsList()
|
||||
int index = 1;
|
||||
QList<RIOPluginDescription> ioPlugins = Core()->getRIOPluginDescriptions();
|
||||
for (RIOPluginDescription plugin : ioPlugins) {
|
||||
// Hide debug plugins
|
||||
if (plugin.permissions.contains('d')) {
|
||||
continue;
|
||||
}
|
||||
ui->ioPlugin->addItem(plugin.name);
|
||||
ui->ioPlugin->setItemData(index, plugin.description, Qt::ToolTipRole);
|
||||
index++;
|
||||
|
Loading…
Reference in New Issue
Block a user