From 93f1ae501c936f19c67d352cc71914199e50112f Mon Sep 17 00:00:00 2001 From: matlabbe Date: Fri, 5 Aug 2016 16:55:06 -0400 Subject: [PATCH] Fixed disabled KDTree in Preferences when built without nonfree OpenCV module --- guilib/src/PreferencesDialog.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/guilib/src/PreferencesDialog.cpp b/guilib/src/PreferencesDialog.cpp index 75e19db4..09abbd74 100644 --- a/guilib/src/PreferencesDialog.cpp +++ b/guilib/src/PreferencesDialog.cpp @@ -164,9 +164,6 @@ PreferencesDialog::PreferencesDialog(QWidget * parent) : _ui->reextract_type->setItemData(0, 0, Qt::UserRole - 1); _ui->reextract_type->setItemData(1, 0, Qt::UserRole - 1); - _ui->comboBox_dictionary_strategy->setItemData(1, 0, Qt::UserRole - 1); - _ui->reextract_nn->setItemData(1, 0, Qt::UserRole - 1); - #if CV_MAJOR_VERSION == 3 _ui->comboBox_detector_strategy->setItemData(0, 0, Qt::UserRole - 1); _ui->comboBox_detector_strategy->setItemData(1, 0, Qt::UserRole - 1);