From a98354f402414e8edbaf498b96efc33ff756c34c Mon Sep 17 00:00:00 2001 From: xarkes Date: Fri, 5 Oct 2018 18:42:54 +0200 Subject: [PATCH] Hide debug plugins IO (#767) --- src/dialogs/NewFileDialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dialogs/NewFileDialog.cpp b/src/dialogs/NewFileDialog.cpp index ca4ae2c7..203d3807 100644 --- a/src/dialogs/NewFileDialog.cpp +++ b/src/dialogs/NewFileDialog.cpp @@ -329,6 +329,10 @@ void NewFileDialog::fillIOPluginsList() int index = 1; QList 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++;