Fix STP protocol builder warnings

This commit is contained in:
Srivats P 2016-06-01 20:58:26 +05:30
parent 2acfb3f25a
commit 5e918cf084
2 changed files with 1 additions and 4 deletions

View File

@ -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>

View File

@ -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();