compatible with gcc 5.3.1 amd 6.1.1

This commit is contained in:
Dhanya Maliakal
2016-08-03 17:50:54 +02:00
parent 9139451127
commit 5d3e925ed4
4 changed files with 9 additions and 4 deletions

View File

@ -138,7 +138,7 @@ void qScanWidget::SetupWidgetWindow(){
btnCustom = new QPushButton("Delete ",widgetCustom);
btnCustom->setIcon(QIcon( ":/icons/images/close.png" ));
comboCustom->setEditable(true);
comboCustom->setCompleter(false);
comboCustom->setCompleter(NULL);
comboCustom->setValidator(new QDoubleValidator(comboCustom));
comboCustom->setToolTip(customTip);
btnCustom->setSizePolicy(QSizePolicy::Fixed,QSizePolicy::Fixed);