Clean up some warnings
This commit is contained in:
parent
eb394ac0af
commit
e795692614
8 changed files with 27 additions and 20 deletions
|
@ -238,7 +238,7 @@ QValidator::State CSpinBox::validate(QString& input, int& pos) const
|
|||
if (!prefix.isEmpty() && input.left(prefix.length()) != prefix)
|
||||
return QValidator::Invalid;
|
||||
|
||||
unsigned strpos = prefix.length();
|
||||
int strpos = prefix.length();
|
||||
|
||||
// Empty "numbers" allowed as intermediate values
|
||||
if (strpos >= input.length() - HasSign() - suffix.length())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue