diff widgets/PluginReviewDialog.cpp @ 1294:9f9a7edd7d89 plugin-path-config

Show value of environment variable; populate for last plugin type by default (as that happens to be Vamp)
author Chris Cannam
date Mon, 04 Jun 2018 15:44:57 +0100
parents 6dd15b5c14f9
children d39db4673676
line wrap: on
line diff
--- a/widgets/PluginReviewDialog.cpp	Fri May 25 16:05:51 2018 +0100
+++ b/widgets/PluginReviewDialog.cpp	Mon Jun 04 15:44:57 2018 +0100
@@ -36,9 +36,9 @@
     m_table = new QTableWidget;
     layout->addWidget(m_table, 0, 1);
     
-    QDialogButtonBox *bb = new QDialogButtonBox(QDialogButtonBox::Ok);
+    QDialogButtonBox *bb = new QDialogButtonBox(QDialogButtonBox::Close);
     layout->addWidget(bb, 1, 1);
-    connect(bb, SIGNAL(accepted()), this, SLOT(accept()));
+    connect(bb, SIGNAL(rejected()), this, SLOT(close()));
 }
 
 PluginReviewDialog::~PluginReviewDialog()