Fix STP protocol builder warnings
This commit is contained in:
parent
2acfb3f25a
commit
5e918cf084
@ -463,7 +463,6 @@
|
|||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
<zorder></zorder>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
@ -481,8 +480,6 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
<zorder>groupBox_4</zorder>
|
<zorder>groupBox_4</zorder>
|
||||||
<zorder></zorder>
|
|
||||||
<zorder>verticalSpacer_3</zorder>
|
|
||||||
</widget>
|
</widget>
|
||||||
<tabstops>
|
<tabstops>
|
||||||
<tabstop>ui_protocol_id</tabstop>
|
<tabstop>ui_protocol_id</tabstop>
|
||||||
|
@ -45,7 +45,7 @@ public:
|
|||||||
: QValidator(parent), min_(min), max_(max){}
|
: QValidator(parent), min_(min), max_(max){}
|
||||||
virtual ~UNumberValidator(){}
|
virtual ~UNumberValidator(){}
|
||||||
|
|
||||||
virtual QValidator::State validate(QString& input, int& pos) const
|
virtual QValidator::State validate(QString& input, int& /*pos*/) const
|
||||||
{
|
{
|
||||||
QValidator::State state = QValidator::Acceptable;
|
QValidator::State state = QValidator::Acceptable;
|
||||||
quint64 val = input.toULongLong();
|
quint64 val = input.toULongLong();
|
||||||
|
Loading…
Reference in New Issue
Block a user