bloguetronica / cp2130-conf

CP2130 Configurator (cp2130-conf) is an application that can be used to configure CP2130 devices, including VID, PID, as well as other descriptors. Most importantly, the application allows you to configure pin functions and states.
GNU General Public License v3.0
1 stars 1 forks source link

Some instances of QString::toInt() should be replaced with QString::toUInt() #21

Closed samuelfmlourenco closed 2 years ago

samuelfmlourenco commented 2 years ago

There are some instances where QString::toInt() is used to convert strings to integers, that are then cast to unsigned types (quint8, quint16). However, in those cases, QString::toUInt() should be used instead. These cases can be found inside "mainwindow.cpp" and "configuratorwindow.cpp", but every implementation file should be checked.

samuelfmlourenco commented 2 years ago

Fixed in version 1.4.