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>
</item>
</layout>
<zorder></zorder>
</widget>
</item>
<item>
@ -481,8 +480,6 @@
</item>
</layout>
<zorder>groupBox_4</zorder>
<zorder></zorder>
<zorder>verticalSpacer_3</zorder>
</widget>
<tabstops>
<tabstop>ui_protocol_id</tabstop>

View File

@ -45,7 +45,7 @@ public:
: QValidator(parent), min_(min), max_(max){}
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;
quint64 val = input.toULongLong();