chipmuenk/pyfda

DeprecationWarnings concerning integer conversion under Python 3.8.5

chipmuenk opened this issue · 1 comments

The following deprecation warning needs to be fixed:

input_widgets\input_coeffs.py:479: DeprecationWarning: an integer is required (got type Alignment). 
Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.

self.tblCoeff.item(row, col).setTextAlignment(Qt.AlignRight|Qt.AlignCenter)

The same warning pops up in input_pz.py:427

Similar in plot_widgets\plot_pz.py:82

DeprecationWarning: an integer is required (got type float). 
Implicit conversion to integers using __int__ is deprecated, and may    be removed in a future version of Python.
self.diaRad_Hf.setRange(2., 10.)

fixed