inputdialog : Fix warning "value has incomplete type" when the project built with Qt4