mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-10 13:30:20 +08:00
minor fix
This commit is contained in:
@@ -31,7 +31,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#include <QtGui/QVBoxLayout>
|
||||
#include <QtCore/QMetaType>
|
||||
|
||||
#ifndef Q_MOC_RUN
|
||||
#ifndef Q_MOC_RUN // Mac OS X issue
|
||||
#include "rtabmap/gui/CloudViewer.h"
|
||||
#include "rtabmap/core/util3d.h"
|
||||
#include "rtabmap/core/RtabmapEvent.h"
|
||||
|
||||
@@ -122,7 +122,9 @@ PreferencesDialog::PreferencesDialog(QWidget * parent) :
|
||||
#ifdef _WIN32
|
||||
_ui->radioButton_openni2->setChecked(true);
|
||||
_ui->radioButton_opennipcl->setChecked(false);
|
||||
showOpenNI2GroupBox(true);
|
||||
_ui->groupBox_openni2->setVisible(true);
|
||||
#else
|
||||
_ui->groupBox_openni2->setVisible(false);
|
||||
#endif
|
||||
|
||||
if(RTABMAP_NONFREE == 0)
|
||||
@@ -140,7 +142,6 @@ PreferencesDialog::PreferencesDialog(QWidget * parent) :
|
||||
}
|
||||
|
||||
_ui->predictionPlot->showLegend(false);
|
||||
_ui->groupBox_openni2->setVisible(false);
|
||||
|
||||
QButtonGroup * buttonGroup = new QButtonGroup(this);
|
||||
buttonGroup->addButton(_ui->radioButton_basic);
|
||||
|
||||
Reference in New Issue
Block a user