Fixed libfreenect.h not found error when compiling the rtabmap-gui lib

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1313 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2014-06-03 14:26:30 +00:00
parent acd208fc6a
commit 61f026071e
3 changed files with 5 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ void MapVisibilityWidget::updateCheckBoxes()
QWidget * area = this->findChild<QWidget*>("area");
QVBoxLayout * layout = (QVBoxLayout *)area->layout();
QList<QCheckBox*> checkboxes = area->findChildren<QCheckBox*>();
while(checkboxes.size() && checkboxes.size() > _poses.size())
while(checkboxes.size() && checkboxes.size() > (int)_poses.size())
{
delete *checkboxes.begin();
checkboxes.erase(checkboxes.begin());