Skip to content

Commit

Permalink
Fix a compile error that occurred if the K4A library is present, but …
Browse files Browse the repository at this point in the history
…the Structure SDK is not
  • Loading branch information
puzzlepaint committed Aug 14, 2021
1 parent e5cb94b commit 32e47be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion applications/badslam/src/badslam/gui_settings_window.cc
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ SettingsDialog::SettingsDialog(QString* dataset_path, BadSlamConfig* config, boo
++ *row;
};

bool found;
(void) found;


// Settings tab: Dataset playback
QWidget* dataset_playback_tab = new QWidget();
Expand Down Expand Up @@ -347,7 +350,7 @@ SettingsDialog::SettingsDialog(QString* dataset_path, BadSlamConfig* config, boo
structure_depth_range_values.push_back("VeryLong");
structure_depth_range_combo->addItem(tr("Hybrid (0.35m to 10.0m)"));
structure_depth_range_values.push_back("Hybrid");
bool found = false;
found = false;
for (usize i = 0; i < structure_depth_range_values.size(); ++ i) {
if (config->structure_depth_range == structure_depth_range_values[i]) {
structure_depth_range_combo->setCurrentIndex(i);
Expand Down

0 comments on commit 32e47be

Please sign in to comment.